Skip to content

fix: show inherited persistent flags in command help - #2422

Open
amtbsl wants to merge 2 commits into
urfave:mainfrom
amtbsl:fix/show-inherited-persistent-flags-2420
Open

fix: show inherited persistent flags in command help#2422
amtbsl wants to merge 2 commits into
urfave:mainfrom
amtbsl:fix/show-inherited-persistent-flags-2420

Conversation

@amtbsl

@amtbsl amtbsl commented Aug 29, 2026

Copy link
Copy Markdown

Fixes #2420.

Include persistent flags inherited from parent commands when rendering subcommand help, while avoiding duplicates. Adds regression coverage for inherited flag visibility.

Validation: regression test added and git diff --check passed. Go tests were unavailable locally because the Go toolchain is not installed.

@amtbsl
amtbsl requested a review from a team as a code owner August 29, 2026 05:38
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.

Persistent flags defined on non-root command, do not show up in help output of leaf command

1 participant