Remove "Keys: " from create auth key output

This is based on the premis that "the user know what command they
executed" and therefor know that the output is the key.

This makes the command a lot more useful in scripts.
This commit is contained in:
Kristoffer Dalby 2021-08-08 17:37:23 +01:00
parent 642c7824a7
commit 91ffd10192

View File

@ -116,6 +116,6 @@ var createPreAuthKeyCmd = &cobra.Command{
fmt.Println(err) fmt.Println(err)
return return
} }
fmt.Printf("Key: %s\n", k.Key) fmt.Printf("%s\n", k.Key)
}, },
} }