mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-22 07:31:47 +00:00
Add shorthand letter for version --client
This commit is contained in:
parent
82824b4fc6
commit
22c4fe9569
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue