Update cmd flag usage

Signed-off-by: fang duan <df1228@gmail.com>
pull/8912/head
fang duan 5 years ago
parent 8b8105fcb0
commit 5e2317a98b
No known key found for this signature in database
GPG Key ID: 3B0F7D1148EB3839

@ -75,7 +75,7 @@ func newUninstallCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {
f := cmd.Flags() f := cmd.Flags()
f.BoolVar(&client.DryRun, "dry-run", false, "simulate a uninstall") f.BoolVar(&client.DryRun, "dry-run", false, "simulate a uninstall")
f.BoolVar(&client.DeleteNamespace, "delete-namespace", false, "delete the release namespace if present(be careful, this will remove release history)") f.BoolVar(&client.DeleteNamespace, "delete-namespace", false, "delete the release namespace if present (be careful, this will remove release history)")
f.BoolVar(&client.DisableHooks, "no-hooks", false, "prevent hooks from running during uninstallation") f.BoolVar(&client.DisableHooks, "no-hooks", false, "prevent hooks from running during uninstallation")
f.BoolVar(&client.KeepHistory, "keep-history", false, "remove all associated resources and mark the release as deleted, but retain the release history") f.BoolVar(&client.KeepHistory, "keep-history", false, "remove all associated resources and mark the release as deleted, but retain the release history")
f.DurationVar(&client.Timeout, "timeout", 300*time.Second, "time to wait for any individual Kubernetes operation (like Jobs for hooks)") f.DurationVar(&client.Timeout, "timeout", 300*time.Second, "time to wait for any individual Kubernetes operation (like Jobs for hooks)")

Loading…
Cancel
Save