Merge pull request #526 from technosophos/fix/helm-usage

fix(cli): Add -n alias for --name
pull/531/head
Matt Butcher 9 years ago
commit f63e6bc151

@ -42,7 +42,7 @@ func deployCmd() cli.Command {
Usage: "The configuration YAML file for this deployment.", Usage: "The configuration YAML file for this deployment.",
}, },
cli.StringFlag{ cli.StringFlag{
Name: "name", Name: "name,n",
Usage: "Name of deployment, used for deploy and update commands (defaults to template name)", 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. // 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 Once the in-cluster portion is running, you can use 'helm deploy' to
deploy a new application: deploy a new application:
$ helm deploy CHARTNAME $ helm deploy -n NAME CHART
For more information on Helm commands, you can use the following tools: For more information on Helm commands, you can use the following tools:

Loading…
Cancel
Save