pull/2366/merge
GopherPro 3 years ago committed by GitHub
commit b643e15ba8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save