Skip to content

Commit 01fe814

Browse files
committed
Update watch flag docs and help
1 parent f9220ff commit 01fe814

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cli/cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func addEnvFlag(cmd *cobra.Command) {
9191
}
9292

9393
func addWatchFlag(cmd *cobra.Command) {
94-
cmd.PersistentFlags().BoolVarP(&flagWatch, "watch", "w", false, "re-run the command every 2 seconds")
94+
cmd.PersistentFlags().BoolVarP(&flagWatch, "watch", "w", false, "re-run the command every second")
9595
}
9696

9797
func addAppNameFlag(cmd *cobra.Command) {

docs/cluster/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Flags:
3030
-h, --help help for get
3131
-s, --summary show summarized output
3232
-v, --verbose show verbose output
33-
-w, --watch re-run the command every 2 seconds
33+
-w, --watch re-run the command every second
3434
```
3535

3636
The `get` command displays the current state of all resources on the cluster. Specifying a resource name provides the state of the particular resource. A detailed view of the configuration and additional metdata of a specific resource can be retrieved by adding the `-v` or `--verbose` flag. Using the `-s` or `--summary` flag will show a summarized view of all resource statuses.

0 commit comments

Comments
 (0)