diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2018-05-27 12:20:11 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-06-20 18:01:21 +0100 |
commit | 3b25ff0b9cfd84f7d8a487e2f2b25f2d3945235e (patch) | |
tree | d1e98159929c9770f129035be6167de93fbe2158 | |
parent | f64a94e6a8cf809914c29a4562ee3231a2ef47b7 (diff) | |
download | sos-3b25ff0b9cfd84f7d8a487e2f2b25f2d3945235e.tar.gz |
[sos] add add_preset and del_preset to SoSOptions
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/__init__.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/sos/__init__.py b/sos/__init__.py index f169f369..27c75c77 100644 --- a/sos/__init__.py +++ b/sos/__init__.py @@ -42,11 +42,12 @@ _sos = _default #: Names of all arguments _arg_names = [ - 'all_logs', 'batch', 'build', 'case_id', 'chroot', 'compression_type', - 'config_file', 'debug', 'enableplugins', 'experimental', 'label', - 'list_plugins', 'list_presets', 'list_profiles', 'log_size', 'noplugins', - 'noreport', 'onlyplugins', 'plugopts', 'preset', 'profiles', 'quiet', - 'sysroot', 'tmp_dir', 'usealloptions', 'verbosity', 'verify' + 'add_preset', 'all_logs', 'batch', 'build', 'case_id', 'chroot', + 'compression_type', 'config_file', 'debug', 'del_preset', 'enableplugins', + 'experimental', 'label', 'list_plugins', 'list_presets', 'list_profiles', + 'log_size', 'noplugins', 'noreport', 'onlyplugins', 'plugopts', 'preset', + 'profiles', 'quiet', 'sysroot', 'tmp_dir', 'usealloptions', 'verbosity', + 'verify' ] #: Arguments with non-zero default values @@ -59,6 +60,7 @@ _arg_defaults = { class SoSOptions(object): + add_preset = "" all_logs = False batch = False build = False @@ -67,6 +69,7 @@ class SoSOptions(object): compression_type = _arg_defaults["compression_type"] config_file = "" debug = False + del_preset = "" enableplugins = [] experimental = False label = "" |