diff options
author | Keigo Noha <knoha@redhat.com> | 2019-12-25 16:18:14 +0900 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2020-01-08 12:54:41 -0500 |
commit | 8958a5e378046d9f7fc30e41d939b7877e9baf15 (patch) | |
tree | 49bb4ddbd64ea64b3ed3645f8c4ab8247688e2f5 | |
parent | 58bdcdb74a7823cc9dc45758f817c2b20777364c (diff) | |
download | sos-8958a5e378046d9f7fc30e41d939b7877e9baf15.tar.gz |
[sosreport] Fix noreport to be available in sos.conf
In _opt_to_args(), no_value had noreport.
However, the list is used for converting option name in sos.conf
to command-line option. It means that noreport needs to be no-report
for aligning command-line option.
Resolves: #1904
Signed-off-by: Keigo Noha <knoha@redhat.com>
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r-- | sos/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/__init__.py b/sos/__init__.py index 16cb35b4..a01b6b9f 100644 --- a/sos/__init__.py +++ b/sos/__init__.py @@ -223,7 +223,7 @@ class SoSOptions(object): no_value = ( "alloptions", "allow-system-changes", "all-logs", "batch", "build", "debug", "experimental", "list-plugins", "list-presets", - "list-profiles", "noreport", "no-env-vars", "quiet", "verify" + "list-profiles", "no-report", "no-env-vars", "quiet", "verify" ) count = ("verbose",) if opt in no_value: |