From 42279c7cd61ddfb9504bb7cb2ee05f65d4f851eb Mon Sep 17 00:00:00 2001 From: Devan Franchini Date: Tue, 14 Oct 2014 15:30:40 -0400 Subject: config.py: Modifies --list_unused_installed to nargs = "*" In order to allow the nature of --list_unused_installed to remain true to the nature of the command line arg, the nargs has been changed to "*". This allows --list_unused_installed to be called with 0 or more args via the argparse python class. --- WebappConfig/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebappConfig/config.py b/WebappConfig/config.py index 99ccedd..10a6f26 100644 --- a/WebappConfig/config.py +++ b/WebappConfig/config.py @@ -598,7 +598,7 @@ class Config: info_opts.add_argument('-lui', '--list-unused-installs', - action='store_true', + nargs = '*', help = 'List all master images which currently a' 're not used. Optionally, provide a package and/' 'or version number as arguments to restrict the ' -- cgit v1.2.3-65-gdbad