pflag
pflag copied to clipboard
Add Parent FlagSet
Persistent flags (shorthand
) of cmd's parents conflict with cmd's shorthand flags. We faced this issue multiple time within nerdctl (https://github.com/containerd/nerdctl/issues/1334) . This idea of this PR is to ignore the InheritedFlags when there is conflict with flag
and shorthand
Signed-off-by: fahed dorgaa [email protected]