diff --git a/components/cluster/command/deploy.go b/components/cluster/command/deploy.go index d51adc1e85..e9de5eb1e7 100644 --- a/components/cluster/command/deploy.go +++ b/components/cluster/command/deploy.go @@ -103,7 +103,7 @@ func newDeploy() *cobra.Command { }, } - cmd.Flags().StringVarP(&opt.user, "user","u", tiuputils.CurrentUser(), "The user name to login via SSH. The user must has root (or sudo) privilege.") + cmd.Flags().StringVarP(&opt.user, "user", "u", tiuputils.CurrentUser(), "The user name to login via SSH. The user must has root (or sudo) privilege.") cmd.Flags().StringVarP(&opt.identityFile, "identity_file", "i", opt.identityFile, "The path of the SSH identity file. If specified, public key authentication will be used.") cmd.Flags().BoolVarP(&opt.usePassword, "password", "p", false, "Use password of target hosts. If specified, password authentication will be used.") cmd.Flags().BoolVarP(&opt.ignoreConfigCheck, "ignore-config-check", "", opt.ignoreConfigCheck, "Ignore the config check result")