Skip to content

Commit

Permalink
add timeout flag docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ndhanushkodi committed Sep 22, 2021
1 parent 537436a commit 560b896
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -108,6 +108,9 @@ Command Options:
-namespace=<string>
Namespace for the Consul installation.
-timeout=<string>
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
Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/uninstall/uninstall.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 560b896

Please sign in to comment.