Skip to content

Commit

Permalink
Change install version StringVar to StringVarP (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
gerred authored and alenkacz committed Jul 11, 2019
1 parent 3eebef4 commit 0facf40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kudoctl/cmd/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func newInstallCmd() *cobra.Command {
installCmd.Flags().StringVar(&options.InstanceName, "instance", "", "The instance name. (default to Operator name)")
installCmd.Flags().StringVar(&options.Namespace, "namespace", "default", "The namespace used for the package installation. (default \"default\"")
installCmd.Flags().StringArrayVarP(&parameters, "parameter", "p", nil, "The parameter name and value separated by '='")
installCmd.Flags().StringVar(&options.PackageVersion, "version", "v", "A specific package version on the official GitHub repo. (default to the most recent)")
installCmd.Flags().StringVarP(&options.PackageVersion, "version", "v", "", "A specific package version on the official GitHub repo. (default to the most recent)")
installCmd.Flags().BoolVar(&options.SkipInstance, "skip-instance", false, "If set, install will install the Operator and OperatorVersion, but not an instance. (default \"false\")")

const usageFmt = "Usage:\n %s\n\nFlags:\n%s"
Expand Down

0 comments on commit 0facf40

Please sign in to comment.