aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2013-04-23 18:18:45 +0100
committerBryn M. Reeves <bmr@redhat.com>2013-04-23 18:18:45 +0100
commitfd7f3d169589da19a4c81837b695989110f401ef (patch)
treee3eeb5e8471cb69abe3b598d38dfd8acf823fde1
parent624034ec2184ca6f6a719f45f7b0addaa4718dac (diff)
downloadsos-fd7f3d169589da19a4c81837b695989110f401ef.tar.gz
Rename listPlugins to list_plugins
Rename the option variable listPlugins to list_plugins to conform with pep8 and other uses in the options set. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/sosreport.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/sosreport.py b/sos/sosreport.py
index 6e4a6141..b822acae 100644
--- a/sos/sosreport.py
+++ b/sos/sosreport.py
@@ -800,7 +800,7 @@ class SoSReport(object):
self.parser = parser = OptionParserExtended(option_class=SosOption)
parser.add_option("-l", "--list-plugins", action="store_true",
- dest="listPlugins", default=False,
+ dest="list_plugins", default=False,
help="list plugins and available plugin options")
parser.add_option("-n", "--skip-plugins", action="extend",
dest="noplugins", type="string",
@@ -879,7 +879,7 @@ class SoSReport(object):
self._check_for_unknown_plugins()
self._set_plugin_options()
- if self.opts.listPlugins:
+ if self.opts.list_plugins:
self.list_plugins()
return True