From: Manuel Urbano Santos Date: Sat, 3 Dec 2011 13:29:28 +0000 (+0100) Subject: Change adduser arguments from positional to --keyword style. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d463055317e5518adf7c5a99b4724f4e66830b3c;p=mediagoblin.git Change adduser arguments from positional to --keyword style. --- diff --git a/mediagoblin/gmg_commands/users.py b/mediagoblin/gmg_commands/users.py index 4c4b0c1b..a4d85aa4 100644 --- a/mediagoblin/gmg_commands/users.py +++ b/mediagoblin/gmg_commands/users.py @@ -21,14 +21,14 @@ from mediagoblin import mg_globals def adduser_parser_setup(subparser): subparser.add_argument( - 'username', + '--username','-u', help="Username used to login") subparser.add_argument( - 'password', - help="Your supersecret word to login") + '--password','-p', + help="Your supersecret word to login, beware of storing it in bash history") subparser.add_argument( - 'email', - help="Email to recieve notifications") + '--email','-e', + help="Email to receive notifications") def adduser(args):