Change adduser arguments from positional to --keyword style.

This commit is contained in:
Manuel Urbano Santos 2011-12-03 14:29:28 +01:00
parent eae7d0585f
commit d463055317

View File

@ -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):