command/auth: add newline so reading token doesn't output
This commit is contained in:
parent
712d144ec7
commit
27d4d861e9
|
@ -56,6 +56,7 @@ func (c *AuthCommand) Run(args []string) int {
|
|||
// No arguments given, read the token from user input
|
||||
fmt.Printf("Token (will be hidden): ")
|
||||
token, err = password.Read(os.Stdin)
|
||||
fmt.Printf("\n")
|
||||
if err != nil {
|
||||
c.Ui.Error(fmt.Sprintf(
|
||||
"Error attempting to ask for token. The raw error message\n"+
|
||||
|
|
Loading…
Reference in New Issue