From 0f3b9e15fae1a5ba22c826a9c3d9c58a22205d33 Mon Sep 17 00:00:00 2001 From: Jason-ZW Date: Fri, 25 Sep 2020 10:47:11 +0800 Subject: [PATCH] style(autok3s): change --ssh-key-pass usage info --- cmd/create.go | 2 +- cmd/join.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/create.go b/cmd/create.go index cea3606c..f6489803 100644 --- a/cmd/create.go +++ b/cmd/create.go @@ -32,7 +32,7 @@ func init() { createCmd.Flags().StringVar(&cSSH.User, "ssh-user", cSSH.User, "SSH user for host") createCmd.Flags().StringVar(&cSSH.Port, "ssh-port", cSSH.Port, "SSH port for host") createCmd.Flags().StringVar(&cSSH.SSHKeyPath, "ssh-key-path", cSSH.SSHKeyPath, "SSH private key path") - createCmd.Flags().StringVar(&cSSH.SSHKeyPassphrase, "ssh-key-pass", cSSH.SSHKeyPassphrase, "Passphrase of SSH private key") + createCmd.Flags().StringVar(&cSSH.SSHKeyPassphrase, "ssh-key-pass", cSSH.SSHKeyPassphrase, "SSH passphrase of private key") createCmd.Flags().StringVar(&cSSH.SSHCertPath, "ssh-key-cert-path", cSSH.SSHCertPath, "SSH private key certificate path") createCmd.Flags().StringVar(&cSSH.Password, "ssh-password", cSSH.Password, "SSH login password") } diff --git a/cmd/join.go b/cmd/join.go index 1c7adb01..6a459b4a 100644 --- a/cmd/join.go +++ b/cmd/join.go @@ -32,7 +32,7 @@ func init() { joinCmd.Flags().StringVar(&jSSH.User, "ssh-user", jSSH.User, "SSH user for host") joinCmd.Flags().StringVar(&jSSH.Port, "ssh-port", jSSH.Port, "SSH port for host") joinCmd.Flags().StringVar(&jSSH.SSHKeyPath, "ssh-key-path", jSSH.SSHKeyPath, "SSH private key path") - joinCmd.Flags().StringVar(&jSSH.SSHKeyPassphrase, "ssh-key-pass", jSSH.SSHKeyPassphrase, "Passphrase of SSH private key") + joinCmd.Flags().StringVar(&jSSH.SSHKeyPassphrase, "ssh-key-pass", jSSH.SSHKeyPassphrase, "SSH passphrase of private key") joinCmd.Flags().StringVar(&jSSH.SSHCertPath, "ssh-key-cert-path", jSSH.SSHCertPath, "SSH private key certificate path") joinCmd.Flags().StringVar(&jSSH.Password, "ssh-password", jSSH.Password, "SSH login password") }