Skip to content

Commit

Permalink
Merge 3e841a8 into 551f734
Browse files Browse the repository at this point in the history
  • Loading branch information
sumit-kothari committed Apr 9, 2018
2 parents 551f734 + 3e841a8 commit 58bd398
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flaskbb/cli/users.py
Expand Up @@ -53,10 +53,10 @@ def new_user(username, email, password, group):
@click.option("--password", "-p", help="The password of the user.")
@click.option("--group", "-g", help="The group of the user.",
type=click.Choice(["admin", "super_mod", "mod", "member"]))
def change_user(username, password, email, group):
def change_user(username, email, password, group):
"""Updates an user. Omit any options to use the interactive mode."""

user = prompt_save_user(username, password, email, group, only_update=True)
user = prompt_save_user(username, email, password, group, only_update=True)
if user is None:
raise FlaskBBCLIError("The user with username {} does not exist."
.format(username), fg="red")
Expand Down

0 comments on commit 58bd398

Please sign in to comment.