fix: show flags that shadow parent persistent flag in child help (#1776)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
This fixes a bug where a child flag that shadows (has the same name as) a parent persistent flag would not be shown in the child command's help output and the parent flag would be shown instead under the global flags section. This change makes the help output consistent with the observed behavior during execution, where the child flag is the one that is actually used.
authored by Brian Pursley · committed by GitHub · parent dbf85f6 · Browse files · 2 files+36 added−6 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+36 added−6 removed
- other:+36 added−6 removed