fix(cli): Add -n alias for --name

On 'helm deploy', add '-n' as an alias for '--name', and also
update docs to make it neutral about whether '-n'/'--name' is required.
pull/526/head
Matt Butcher 9 years ago
parent 007b300dcc
commit adfdef49a9

@ -42,7 +42,7 @@ func deployCmd() cli.Command {
Usage: "The configuration YAML file for this deployment.",
},
cli.StringFlag{
Name: "name",
Name: "name,n",
Usage: "Name of deployment, used for deploy and update commands (defaults to template name)",
},
// TODO: I think there is a Generic flag type that we can implement parsing with.

@ -39,7 +39,7 @@ const desc = `Helm: the package and deployment manager for Kubernetes
Once the in-cluster portion is running, you can use 'helm deploy' to
deploy a new application:
$ helm deploy CHARTNAME
$ helm deploy -n NAME CHART
For more information on Helm commands, you can use the following tools:

Loading…
Cancel
Save