diff --git a/pkg/cmd/flags.go b/pkg/cmd/flags.go index 55633e62b..ee4806280 100644 --- a/pkg/cmd/flags.go +++ b/pkg/cmd/flags.go @@ -57,9 +57,9 @@ func addValueOptionsFlags(f *pflag.FlagSet, v *values.Options) { func AddWaitFlag(cmd *cobra.Command, wait *kube.WaitStrategy) { cmd.Flags().Var( - newWaitValue(kube.HookOnlyStrategy, wait), + newWaitValue(kube.StatusWatcherStrategy, wait), "wait", - "wait until resources are ready (up to --timeout). Values: 'watcher' (default), 'legacy', and 'hookOnly'", + "wait until resources are ready (up to --timeout). Values: 'watcher' (default), 'hookOnly', 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)