diff --git a/cmd/create.go b/cmd/create.go index da2222ea..d11d8b7c 100644 --- a/cmd/create.go +++ b/cmd/create.go @@ -29,7 +29,7 @@ var ( func init() { createCmd.Flags().StringVarP(&cProvider, "provider", "p", cProvider, "Provider is a module which provides an interface for managing cloud resources") - createCmd.Flags().StringVar(&cSSH.User, "user", cSSH.User, "SSH user for host") + 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.SSHKey, "ssh-key", cSSH.SSHKey, "SSH private key path") } diff --git a/cmd/join.go b/cmd/join.go index 0fba84a0..41b46941 100644 --- a/cmd/join.go +++ b/cmd/join.go @@ -29,7 +29,7 @@ var ( func init() { joinCmd.Flags().StringVarP(&jProvider, "provider", "p", jProvider, "Provider is a module which provides an interface for managing cloud resources") - joinCmd.Flags().StringVar(&jSSH.User, "user", jSSH.User, "SSH user for host") + 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.SSHKey, "ssh-key", jSSH.SSHKey, "SSH private key path") }