makeadmin and changepasswd had swapped help text
authorChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 18 Dec 2012 22:46:20 +0000 (16:46 -0600)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Tue, 25 Dec 2012 18:16:03 +0000 (19:16 +0100)
mediagoblin/gmg_commands/__init__.py

index e965dd5730a5c7ace3e7d4b62098be16455bb5d9..19793ec323d157a9de8852fe3de455d746502a2a 100644 (file)
@@ -37,11 +37,11 @@ SUBCOMMAND_MAP = {
     'makeadmin': {
         'setup': 'mediagoblin.gmg_commands.users:makeadmin_parser_setup',
         'func': 'mediagoblin.gmg_commands.users:makeadmin',
-        'help': 'Changes a user\'s password'},
+        'help': 'Makes user an admin'},
     'changepw': {
         'setup': 'mediagoblin.gmg_commands.users:changepw_parser_setup',
         'func': 'mediagoblin.gmg_commands.users:changepw',
-        'help': 'Makes admin an user'},
+        'help': 'Changes a user\'s password'},
     'dbupdate': {
         'setup': 'mediagoblin.gmg_commands.dbupdate:dbupdate_parse_setup',
         'func': 'mediagoblin.gmg_commands.dbupdate:dbupdate',