command/auth: add newline so reading token doesn't output

This commit is contained in:
Mitchell Hashimoto 2015-03-30 23:24:41 -07:00
parent 712d144ec7
commit 27d4d861e9
1 changed files with 1 additions and 0 deletions

View File

@ -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"+