diff --git a/cli/README.md b/cli/README.md index 8f56664a22..1820b1cdd3 100644 --- a/cli/README.md +++ b/cli/README.md @@ -93,7 +93,7 @@ consul-k8s uninstall ``` ``` -Usage: kubectl consul uninstall [options] +Usage: consul-k8s uninstall [flags] Uninstall Consul with options to delete data and resources associated with Consul installation. Command Options: @@ -108,6 +108,9 @@ Command Options: -namespace= Namespace for the Consul installation. + -timeout= + Timeout to wait for uninstall. The default is 10m. + -wipe-data When used in combination with -auto-approve, all persisted data (PVCs and Secrets) from previous installations will be deleted. Only set this diff --git a/cli/cmd/uninstall/uninstall.go b/cli/cmd/uninstall/uninstall.go index de9ffc8276..a0a2815e05 100644 --- a/cli/cmd/uninstall/uninstall.go +++ b/cli/cmd/uninstall/uninstall.go @@ -307,7 +307,7 @@ func (c *Command) Run(args []string) int { func (c *Command) Help() string { c.once.Do(c.init) - s := "Usage: consul-k8s uninstall [options]" + "\n" + "Uninstall Consul with options to delete data and resources associated with Consul installation." + "\n\n" + c.help + s := "Usage: consul-k8s uninstall [flags]" + "\n" + "Uninstall Consul with options to delete data and resources associated with Consul installation." + "\n\n" + c.help return s }