From e8b0cff45a21de6fe144789830e46c188e713313 Mon Sep 17 00:00:00 2001 From: Benoit Tigeot Date: Sat, 25 Oct 2025 11:15:06 +0200 Subject: [PATCH] Update pkg/cmd/flags.go Co-authored-by: George Jenkins Signed-off-by: Benoit Tigeot Signed-off-by: Benoit Tigeot --- pkg/cmd/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/flags.go b/pkg/cmd/flags.go index 941602211..4f416ddf0 100644 --- a/pkg/cmd/flags.go +++ b/pkg/cmd/flags.go @@ -59,7 +59,7 @@ func AddWaitFlag(cmd *cobra.Command, wait *kube.WaitStrategy) { cmd.Flags().Var( newWaitValue(kube.HookOnlyStrategy, wait), "wait", - "wait until resources are ready (up to --timeout). Values: 'watcher' (default), 'legacy'. '--wait' without value = 'watcher'. Booleans deprecated; '--wait=false' does hook-only.", + "wait until resources are ready (up to --timeout). Values: 'watcher' (default), 'legacy', and 'hookOnly'", ) // Sets the strategy to use the watcher strategy if `--wait` is used without an argument cmd.Flags().Lookup("wait").NoOptDefVal = string(kube.StatusWatcherStrategy)