Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
Fix misprint, hide flags
Browse files Browse the repository at this point in the history
  • Loading branch information
falconandy committed Aug 2, 2018
1 parent 3a69972 commit 01812bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion actions/create_user_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func NewCreateUserAction(rootDir, name, email string, parts []string) *CreateUse
}

func (a *CreateUserAction) Execute() error {
name, email, parts := a.email, a.name, a.parts
name, email, parts := a.name, a.email, a.parts

if len(parts) == 0 && name == "" {
return nil
Expand Down
2 changes: 2 additions & 0 deletions commands/create_user_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ var CreateUserCommand = cli.Command{
Flags: []cli.Flag{
cli.StringFlag{
Name: "name",
Hidden: true,
},
cli.StringFlag{
Name: "email",
Hidden: true,
},
},
Action: func(c *cli.Context) error {
Expand Down

0 comments on commit 01812bf

Please sign in to comment.