From 0e24adba22edf99c242ed5b82c88a59150337acb Mon Sep 17 00:00:00 2001 From: Jake Hunsaker Date: Thu, 21 Jun 2018 16:36:58 -0400 Subject: [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 Signed-off-by: Bryn M. Reeves --- sos/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit