Add shorthand letter for version --client

pull/2366/head
elio.nigg 3 years ago
parent 82824b4fc6
commit 22c4fe9569
No known key found for this signature in database
GPG Key ID: F7A03402A1D8F4F5

@ -55,7 +55,7 @@ type versionFlags struct {
var versionArgs versionFlags
func init() {
versionCmd.Flags().BoolVar(&versionArgs.client, "client", false,
versionCmd.Flags().BoolVarP(&versionArgs.client, "client", "c", false,
"print only client version")
versionCmd.Flags().StringVarP(&versionArgs.output, "output", "o", "yaml",
"the format in which the information should be printed. can be 'json' or 'yaml'")

Loading…
Cancel
Save