commit: 2ebf3e51d46a11c879f18ac8340743a355a630a8
Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 14 19:30:40 2014 +0000
Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Wed Oct 15 13:25:25 2014 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/webapp-config.git;a=commit;h=2ebf3e51
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
'