aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2018-06-21 16:36:58 -0400
committerBryn M. Reeves <bmr@redhat.com>2018-06-22 11:55:17 +0100
commit0e24adba22edf99c242ed5b82c88a59150337acb (patch)
tree91f7c1ddc056ae2090afc4e37f300e3fd543f467
parente8be1df8237bf13ca3acbff19dfdf51720ff6a75 (diff)
downloadsos-0e24adba22edf99c242ed5b82c88a59150337acb.tar.gz
[sosreport] Fix --threads having no effect
The threads option was missing from the _arg_names list which meant it could not actually be changed by the command line option. Add threads to this list so the number of threads is user-controllable. Resolves: #1359 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/__init__.py b/sos/__init__.py
index 33cbdcd9..60bcbca6 100644
--- a/sos/__init__.py
+++ b/sos/__init__.py
@@ -48,7 +48,7 @@ _arg_names = [
'enableplugins', 'experimental', 'label', 'list_plugins', 'list_presets',
'list_profiles', 'log_size', 'noplugins', 'noreport', 'note',
'onlyplugins', 'plugopts', 'preset', 'profiles', 'quiet', 'sysroot',
- 'tmp_dir', 'verbosity', 'verify'
+ 'threads', 'tmp_dir', 'verbosity', 'verify'
]
#: Arguments with non-zero default values