Skip to content

Commit

Permalink
feat: add shortened option -A for --all-namespaces (#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakajunquality authored Aug 4, 2020
1 parent e37a905 commit 442d46d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubectl-argo-rollouts/cmd/list/list_rollouts.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func NewCmdListRollouts(o *options.ArgoRolloutsOptions) *cobra.Command {
},
}
cmd.Flags().StringVar(&listOptions.name, "name", "", "Only show rollout with specified name")
cmd.Flags().BoolVar(&listOptions.allNamespaces, "all-namespaces", false, "Include all namespaces")
cmd.Flags().BoolVarP(&listOptions.allNamespaces, "all-namespaces", "A", false, "Include all namespaces")
cmd.Flags().BoolVarP(&listOptions.watch, "watch", "w", false, "Watch for changes")
cmd.Flags().BoolVar(&listOptions.timestamps, "timestamps", false, "Print timestamps on updates")
return cmd
Expand Down

0 comments on commit 442d46d

Please sign in to comment.