Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: show flags that shadow parent persistent flag in child help #1776

Merged
merged 1 commit into from Aug 28, 2022

Commits on Aug 28, 2022

  1. fix: show flags that shadow parent persistent flag in child help

    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.
    brianpursley committed Aug 28, 2022
    Copy the full SHA
    50a887c View commit details
    Browse the repository at this point in the history