fix: show flags that shadow parent persistent flag in child help (#1776)
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.
B
Brian Pursley committed
22b617914c8890ba20db7ceafcdc2ef4ca4817d3
Parent: dbf85f6
Committed by GitHub <noreply@github.com>
on 8/28/2022, 4:46:39 PM