diff --git a/cmd/version.go b/cmd/version.go index f06cec6..a9683a7 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -21,7 +21,7 @@ var ( ) func init() { - versionCmd.PersistentFlags().BoolVarP(&numOnly, "num", "n", true, "Output the version number only.") + versionCmd.PersistentFlags().BoolVarP(&numOnly, "num", "n", false, "Output the version number only.") versionCmd.PersistentFlags().BoolVarP(&vPre, "vpre", "V", false, "Output the version with v prefixed.") }