From: Christopher Allan Webber Date: Thu, 23 Jun 2011 03:09:11 +0000 (-0500) Subject: No need to describe usage of subcommands, gmg subcommand --help does that X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7f4b44710bcb28b4c2262e582c489362ee240d13;p=mediagoblin.git No need to describe usage of subcommands, gmg subcommand --help does that --- diff --git a/mediagoblin/gmg_commands/__init__.py b/mediagoblin/gmg_commands/__init__.py index 20ea5224..0cb4d3a2 100644 --- a/mediagoblin/gmg_commands/__init__.py +++ b/mediagoblin/gmg_commands/__init__.py @@ -31,15 +31,15 @@ SUBCOMMAND_MAP = { 'adduser':{ 'setup': 'mediagoblin.gmg_commands.users:adduser_parser_setup', 'func': 'mediagoblin.gmg_commands.users:adduser', - 'help': 'Creates an user, \nUsage: adduser -u username -p password -m email'}, + 'help': 'Creates an user'}, 'makeadmin': { 'setup': 'mediagoblin.gmg_commands.users:makeadmin_parser_setup', 'func': 'mediagoblin.gmg_commands.users:makeadmin', - 'help': 'Makes admin an user, \nUsage: makeadmin -u username'}, + 'help': 'Changes a user\'s password'}, 'changepw': { 'setup': 'mediagoblin.gmg_commands.users:changepw_parser_setup', 'func': 'mediagoblin.gmg_commands.users:changepw', - 'help': 'Makes admin an user, \nUsage: changepw -u username -p new_password'}, + 'help': 'Makes admin an user'}, }