Skip to content

Commit 1d9e58c

Browse files
authored
Merge pull request #736 from jetstack/VC-45998
fix the version subcommand panic
2 parents d4bbf5c + e06ba01 commit 1d9e58c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cmd/version.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@ var versionCmd = &cobra.Command{
1818

1919
func init() {
2020
rootCmd.AddCommand(versionCmd)
21-
versionCmd.PersistentFlags().BoolVarP(
21+
versionCmd.PersistentFlags().BoolVar(
2222
&verbose,
2323
"verbose",
24-
"v",
2524
false,
26-
"If enabled, displays the additional information about this built.",
25+
"If enabled, displays the additional information about this build.",
2726
)
2827
}

0 commit comments

Comments
 (0)