From 56db1281bc0666368896a5aabf24584c5eedb6dd Mon Sep 17 00:00:00 2001 From: Radoslaw Smigielski Date: Mon, 13 Nov 2023 08:11:19 +0100 Subject: [PATCH] Be more clear on the expected format of --wait option --- pkg/cmd/kind/create/cluster/createcluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/kind/create/cluster/createcluster.go b/pkg/cmd/kind/create/cluster/createcluster.go index 6bb66dcfc3..2ff56f6eda 100644 --- a/pkg/cmd/kind/create/cluster/createcluster.go +++ b/pkg/cmd/kind/create/cluster/createcluster.go @@ -83,7 +83,7 @@ func NewCommand(logger log.Logger, streams cmd.IOStreams) *cobra.Command { &flags.Wait, "wait", time.Duration(0), - "wait for control plane node to be ready (default 0s)", + "the length of time to wait for control plane node to be ready (default 0s). Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.", ) cmd.Flags().StringVar( &flags.Kubeconfig,