From 31a6efbc1371fac15482f698935ab8f8160a8079 Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Thu, 3 Nov 2016 10:47:45 -0700 Subject: [PATCH] etcdctl/ctlv3: clarify 'user add' argument (user:password) --- etcdctl/README.md | 2 +- etcdctl/ctlv3/command/user_command.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etcdctl/README.md b/etcdctl/README.md index f21b70ba41c..c80115a9146 100644 --- a/etcdctl/README.md +++ b/etcdctl/README.md @@ -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 \ [options] +### USER ADD \ [options] `user add` creates a user. diff --git a/etcdctl/ctlv3/command/user_command.go b/etcdctl/ctlv3/command/user_command.go index 481cccf0d13..b9fa3958dc7 100644 --- a/etcdctl/ctlv3/command/user_command.go +++ b/etcdctl/ctlv3/command/user_command.go @@ -51,7 +51,7 @@ var ( func newUserAddCommand() *cobra.Command { cmd := cobra.Command{ - Use: "add [options]", + Use: "add [options]", Short: "Adds a new user", Run: userAddCommandFunc, }