From 1b7890d82ef0d20e97d33bcf0cc7d4bbb06d4040 Mon Sep 17 00:00:00 2001 From: Lonng Date: Mon, 27 Jul 2020 12:57:31 +0800 Subject: [PATCH] format Signed-off-by: Lonng --- components/cluster/command/deploy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")