Auth: Improve users update cli description #98
This commit is contained in:
parent
dae27fcf6a
commit
1bcdd4c6b1
1 changed files with 3 additions and 3 deletions
|
@ -50,8 +50,8 @@ var UsersCommand = cli.Command{
|
|||
},
|
||||
{
|
||||
Name: "update",
|
||||
Usage: "updates user information",
|
||||
Action: usersModifyAction,
|
||||
Usage: "select user by username and update it's information",
|
||||
Action: usersUpdateAction,
|
||||
Flags: []cli.Flag{
|
||||
cli.StringFlag{
|
||||
Name: "fullname, n",
|
||||
|
@ -217,7 +217,7 @@ func usersListAction(ctx *cli.Context) error {
|
|||
})
|
||||
}
|
||||
|
||||
func usersModifyAction(ctx *cli.Context) error {
|
||||
func usersUpdateAction(ctx *cli.Context) error {
|
||||
return callWithDependencies(ctx, func(conf *config.Config) error {
|
||||
username := ctx.Args().First()
|
||||
if username == "" {
|
||||
|
|
Loading…
Reference in a new issue