aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/__init__.py b/sos/__init__.py
index ed0fb044..543490ee 100644
--- a/sos/__init__.py
+++ b/sos/__init__.py
@@ -185,8 +185,8 @@ class SoSOptions(object):
odict = {}
for arg in _arg_names:
value = getattr(self, arg)
- # Do not attempt to store --add-preset <name> in presets
- if arg == 'add_preset':
+ # Do not attempt to store preset option values in presets
+ if arg in ('add_preset', 'del_preset', 'desc', 'note'):
value = None
odict[arg] = value
return odict