Change adduser arguments from positional to --keyword style.
This commit is contained in:
parent
eae7d0585f
commit
d463055317
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user