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): def adduser_parser_setup(subparser):
subparser.add_argument( subparser.add_argument(
'username', '--username','-u',
help="Username used to login") help="Username used to login")
subparser.add_argument( subparser.add_argument(
'password', '--password','-p',
help="Your supersecret word to login") help="Your supersecret word to login, beware of storing it in bash history")
subparser.add_argument( subparser.add_argument(
'email', '--email','-e',
help="Email to recieve notifications") help="Email to receive notifications")
def adduser(args): def adduser(args):