summaryrefslogtreecommitdiffstats
path: root/rteval/modules
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2012-12-19 15:55:04 +0100
committerDavid Sommerseth <davids@redhat.com>2012-12-19 15:55:04 +0100
commitf9e8cce6b39c0fb966562613da4292c7e952d7a7 (patch)
tree717a5383cf7636d3cba66ba0846ab13e411d6369 /rteval/modules
parentefe7c056315f7e613f125089300ae142150aa99c (diff)
downloadrteval-f9e8cce6b39c0fb966562613da4292c7e952d7a7.tar.gz
rteval-f9e8cce6b39c0fb966562613da4292c7e952d7a7.tar.xz
rteval-f9e8cce6b39c0fb966562613da4292c7e952d7a7.zip
Update config with values from the command line
Now all the command line argument modifications will update the configuration object. Command line arguments will override any default or configuration variables. Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'rteval/modules')
-rw-r--r--rteval/modules/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rteval/modules/__init__.py b/rteval/modules/__init__.py
index ea5a0a2..f1d964b 100644
--- a/rteval/modules/__init__.py
+++ b/rteval/modules/__init__.py
@@ -231,7 +231,7 @@ the information provided by the module"""
default = s.has_key('default') and s['default'] or None
metavar = s.has_key('metavar') and s['metavar'] or None
grparser.add_option('--%s-%s' % (shortmod, o),
- dest="%s_%s" % (shortmod, o),
+ dest="%s___%s" % (shortmod, o),
action='store',
help='%s%s' % (descr,
default and '(default: %s)' % default or ''),