We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0236ac commit fda6426Copy full SHA for fda6426
cmd/main.go
@@ -98,7 +98,7 @@ func parseFlag() {
98
if err := viper.BindPFlags(pflag.CommandLine); err != nil {
99
panic(err)
100
}
101
- if viper.GetBool("v") {
+ if viper.GetBool("version") {
102
fmt.Println("version:", version)
103
fmt.Println("buildDate:", buildDate)
104
fmt.Println("gitCommit:", gitCommit)
0 commit comments