You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Am I mistaken or is there no way to have repeated Boolean options (flags), such as -vvv (say, for increasing a verbosity level)? With pflag, this is possible.
Intuitively, there should be a cmd.BoolsOpt() method enabling this (either operating on an int value or a []bool slice).
Opinions?
The text was updated successfully, but these errors were encountered:
Am I mistaken or is there no way to have repeated Boolean options (flags), such as
-vvv
(say, for increasing a verbosity level)? Withpflag
, this is possible.Intuitively, there should be a
cmd.BoolsOpt()
method enabling this (either operating on anint
value or a[]bool
slice).Opinions?
The text was updated successfully, but these errors were encountered: