From 3fff474dabfe257035704c692febd6a69d6ddabe Mon Sep 17 00:00:00 2001 From: 24sama Date: Fri, 24 Dec 2021 16:17:00 +0800 Subject: [PATCH] fix typo Signed-off-by: 24sama --- cmd/ctl/create/cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ctl/create/cluster.go b/cmd/ctl/create/cluster.go index aeb0edd8..fe9460e6 100644 --- a/cmd/ctl/create/cluster.go +++ b/cmd/ctl/create/cluster.go @@ -128,7 +128,7 @@ func (o *CreateClusterOptions) AddFlags(cmd *cobra.Command) { cmd.Flags().StringVarP(&o.DownloadCmd, "download-cmd", "", "curl -L -o %s %s", `The user defined command to download the necessary binary files. The first param '%s' is output path, the second param '%s', is the URL`) cmd.Flags().StringVarP(&o.Artifact, "artifact", "a", "", "Path to a KubeKey artifact") - cmd.Flags().BoolVarP(&o.SkipInstallPackages, "--skip-install-packages", "", false, "Skip install packages by artifact") + cmd.Flags().BoolVarP(&o.SkipInstallPackages, "skip-install-packages", "", false, "Skip install packages by artifact") } func completionSetting(cmd *cobra.Command) (err error) {