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 kensipe committed Jul 11, 2019
1 parent 4a9e01a commit 3cb7a44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/kudoctl/cmd/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var (
# Install the most recent Flink package to your cluster.
kubectl kudo install flink
*Note*: should you have a local "flink" folder in the current directory it will take precedence over the remote repository.
# Install framework from a local filesystem
Expand Down Expand Up @@ -100,7 +100,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, "package-version", "", "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 3cb7a44

Please sign in to comment.