diff --git a/cmd/k3s/command.go b/cmd/k3s/command.go index 513268c1a..a4aba6c0f 100644 --- a/cmd/k3s/command.go +++ b/cmd/k3s/command.go @@ -81,11 +81,10 @@ func Create() *cobra.Command { createCmd.Flags().StringVar(&cloudRegionFlag, "cloud-region", "on-premise", "NOT USED, PRESENT FOR COMPATIBILITY ISSUE") createCmd.Flags().StringVar(&clusterNameFlag, "cluster-name", "kubefirst", "the name of the cluster to create") createCmd.Flags().StringVar(&clusterTypeFlag, "cluster-type", "mgmt", "the type of cluster to create (i.e. mgmt|workload)") - createCmd.Flags().StringSliceVar(&k3sIpServersFlag, "k3s-ip-servers", []string{}, "the list of k3s (servers) ip x.x.x.x y.y.y.y space separated (required)") + createCmd.Flags().StringSliceVar(&k3sIpServersFlag, "k3s-ip-servers", []string{}, "the list of k3s (servers) ip x.x.x.x,y.y.y.y comma separated (required)") createCmd.MarkFlagRequired("k3s-ips-servers") - createCmd.Flags().StringSliceVar(&k3sIpAgentsFlag, "k3s-ip-agents", []string{}, "the list of k3s (agents) ip x.x.x.x y.y.y.y space separated") + createCmd.Flags().StringSliceVar(&k3sIpAgentsFlag, "k3s-ip-agents", []string{}, "the list of k3s (agents) ip x.x.x.x,y.y.y.y comma separated") createCmd.Flags().StringVar(&k3sSshUserflag, "k3s-ssh-user", "root", "the user used to log into servers with ssh connection") - createCmd.MarkFlagRequired("k3s-ssh-user") createCmd.Flags().StringVar(&k3sSshPrivateKeyflag, "k3s-ssh-private-key", "", "the private key used to log into servers with ssh connection") createCmd.MarkFlagRequired("k3s-ssh-private-key") createCmd.Flags().StringVar(&dnsProviderFlag, "dns-provider", "cloudflare", fmt.Sprintf("the dns provider - one of: %s", supportedDNSProviders))