Skip to content

Commit

Permalink
Merge pull request #6798 from gyuho/ctl-doc
Browse files Browse the repository at this point in the history
etcdctl/ctlv3: clarify 'user add' argument (user:password)
  • Loading branch information
gyuho authored Nov 3, 2016
2 parents f82aac2 + 31a6efb commit aa526cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion etcdctl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv3/command/user_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit aa526cd

Please sign in to comment.