better help text

Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
pull/13604/head
Austin Abro 7 months ago
parent ea87c49d1b
commit 5d31fb09d2
No known key found for this signature in database
GPG Key ID: 92EB5159E403F9D6

@ -56,7 +56,7 @@ func AddWaitFlag(cmd *cobra.Command, wait *kube.WaitStrategy) {
cmd.Flags().Var(
newWaitValue(kube.HookOnlyStrategy, wait),
"wait",
"if set, will wait until all resources are in the expected state before marking the operation as successful. It will wait for as long as --timeout. Options are (true, false, watcher, and legacy)",
"if set, will wait until all resources are in the expected state before marking the operation as successful. It will wait for as long as --timeout. Valid inputs are true, false, watcher, and legacy",
)
// Sets the strategy to use the watcher strategy if `--wait` is used without an argument
cmd.Flags().Lookup("wait").NoOptDefVal = string(kube.StatusWatcherStrategy)

Loading…
Cancel
Save