etcdctl/ctlv3: clarify 'user add' argument (user:password)

This commit is contained in:
Gyu-Ho Lee 2016-11-03 10:47:45 -07:00
parent f82aac2fc6
commit 31a6efbc13
2 changed files with 2 additions and 2 deletions

View File

@ -1074,7 +1074,7 @@ ROLE is used to specify differnt roles which can be assigned to etcd user(s).
USER provides commands for managing users of etcd.
### USER ADD \<user name\> [options]
### USER ADD \<user name or user:password\> [options]
`user add` creates a user.

View File

@ -51,7 +51,7 @@ var (
func newUserAddCommand() *cobra.Command {
cmd := cobra.Command{
Use: "add <user name> [options]",
Use: "add <user name or user:password> [options]",
Short: "Adds a new user",
Run: userAddCommandFunc,
}