Skip to content

chore(cli)!: rename --chain-id to --chain - #1377

Open
dhfang wants to merge 1 commit into
mainfrom
rename-chain-id-flag
Open

chore(cli)!: rename --chain-id to --chain#1377
dhfang wants to merge 1 commit into
mainfrom
rename-chain-id-flag

Conversation

@dhfang

@dhfang dhfang commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

For consistency - we use chain or chain-a or counterparty-chain in more places than chain-id.

Signed-off-by: Dennis Fang <dhsfang@gmail.com>
@dhfang
dhfang requested a review from a team as a code owner August 14, 2026 11:53
@greptile-apps

greptile-apps Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR consistently renames the chain-selection flag from --chain-id to --chain for configuration and relayer commands.

  • Introduces a shared flagChain constant.
  • Updates flag registration and required-flag metadata together.
  • Reuses the constant for commands that already exposed --chain.

Confidence Score: 5/5

The PR appears safe to merge; the intentional breaking flag rename is applied consistently and has no affected in-repository consumers.

Flag declarations and required-flag markers use the same new name, while the affected commands neither inherit conflicting flags nor have repository callers using the removed spelling.

Important Files Changed

Filename Overview
link/cmd/ibc/main.go Consistently applies the intentional CLI flag rename without introducing registration mismatches or command-hierarchy collisions.

Reviews (1): Last reviewed commit: "refactor(cli)!: rename --chain-id to --c..." | Re-trigger Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants