aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Urbano Santos <mu@member.fsf.org>2011-12-03 14:29:28 +0100
committerManuel Urbano Santos <mu@member.fsf.org>2011-12-03 14:29:28 +0100
commitd463055317e5518adf7c5a99b4724f4e66830b3c (patch)
treead365f50db629192f9f2b1edb176783c2d264151
parenteae7d0585fc0348a47087919c04e2372d15d244c (diff)
downloadmediagoblin-d463055317e5518adf7c5a99b4724f4e66830b3c.tar.lz
mediagoblin-d463055317e5518adf7c5a99b4724f4e66830b3c.tar.xz
mediagoblin-d463055317e5518adf7c5a99b4724f4e66830b3c.zip
Change adduser arguments from positional to --keyword style.
-rw-r--r--mediagoblin/gmg_commands/users.py10
1 files changed, 5 insertions, 5 deletions
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):