Skip to content

Commit 9105a70

Browse files
committed
Change shorthand for -verbose from -v to -V
-v clashes with the shorthand for printing the app version with urlfave/cli. This wasn't noticed in debug/ci because urlfave/cli only defines the --version/-v flag when the app version is non empty and we only fill it in for release builds. Thanks to @danarrib for the heads up.
1 parent 5d923cb commit 9105a70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func main() {
7272
},
7373
&cli.BoolFlag{
7474
Name: "verbose",
75-
Aliases: []string{"v"},
75+
Aliases: []string{"V"},
7676
Usage: "Enable verbose output",
7777
Destination: &verboseFlag,
7878
},

0 commit comments

Comments
 (0)