Closed native0090 closed 24 minutes ago
@native0090 You need to set App.UseShortOptionHandling = true for this to work
Thank you, that works! Maybe a hint to this variable in the Flags section would be useful.
@native0090 can you submit a PR with doc changes ?
My urfave/cli version is
v2.27.2
Dependency Management
Describe the bug
The v2 documentation states:
It seems that you can specify the flag multiple times with
-v -v -v
but not with-vvv
.To reproduce
Minimal example to reproduce:
Observed behavior
Running this program without parameters works as expected. Running with
-v
works as expected. Running with-v -v
works as expected. Running with-vv
does not work as expected and prints following message:Run
go version
and paste its output here