commit 0bfa62e288a7b411c48775f22594f404bedea365 Author: Pierre-Yves Chibon pingou@pingoured.fr Date: Sat May 2 09:03:55 2015 +0200
Adjust name of the parser for the process action
pkgdb2client/admin.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) --- diff --git a/pkgdb2client/admin.py b/pkgdb2client/admin.py index 2ec9f2c..e34c7df 100644 --- a/pkgdb2client/admin.py +++ b/pkgdb2client/admin.py @@ -102,13 +102,13 @@ def setup_parser(): parser_update.set_defaults(func=do_update)
# PROCESS - parser_update = subparsers.add_parser( + parser_process = subparsers.add_parser( 'process', help='Process a pending admin action') - parser_update.add_argument( + parser_process.add_argument( 'actionid', nargs='+', help='Identifier of the admin action to process.') - parser_update.set_defaults(func=do_process) + parser_process.set_defaults(func=do_process)
return parser
packagedb-cli-commits@lists.stg.fedorahosted.org