Skip to content

cmd/utils: fix flag deduplication in appFlags#20579

Merged
AskAlexSharov merged 1 commit intoerigontech:mainfrom
benderrobert:appFlags
Apr 15, 2026
Merged

cmd/utils: fix flag deduplication in appFlags#20579
AskAlexSharov merged 1 commit intoerigontech:mainfrom
benderrobert:appFlags

Conversation

@benderrobert
Copy link
Copy Markdown
Contributor

Fix appFlags to actually populate the seen map, so duplicate flags are removed as intended.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes appFlags de-duplication so duplicate CLI flags are actually filtered out when composing the final *cli.App flag list.

Changes:

  • Populate the seen map during iteration so duplicates are removed as intended.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cmd/utils/app/make_app.go
@AskAlexSharov AskAlexSharov enabled auto-merge April 15, 2026 08:55
@AskAlexSharov AskAlexSharov added this pull request to the merge queue Apr 15, 2026
Merged via the queue into erigontech:main with commit 672c3c9 Apr 15, 2026
38 checks passed
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.

3 participants