diff options
-rw-r--r-- | man/en/sos.1 | 5 | ||||
-rw-r--r-- | sos/collector/__init__.py | 3 | ||||
-rw-r--r-- | sos/report/__init__.py | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/man/en/sos.1 b/man/en/sos.1 index af1a5287..2aee4ede 100644 --- a/man/en/sos.1 +++ b/man/en/sos.1 @@ -50,7 +50,7 @@ May also be invoked via the alias \fBsos collector\fR or the deprecated command \fBsos-collector\fR. .TP -.B clean|mask +.B clean|cleaner|mask This subcommand takes input of either 1) an sosreport tarball, 2) a collection of sosreport tarballs such as from \fBcollect\fR, or 3) the unpackaged directory of an sosreport and obfuscates potentially sensitive system information @@ -63,7 +63,8 @@ between matched data items. See \fB sos clean --help\fR and \fBman sos-clean\fR for more information. -May be invoked via either \fBsos clean\fR, \fBsos mask\fR, or via the \fB--clean\fR or \fB --mask\fR options +May be invoked via either \fBsos clean\fR, \fBsos cleaner\fR, \fBsos mask\fR, +or via the \fB--clean\fR, \fB--cleaner\fR or \fB --mask\fR options for \fBreport\fR and \fBcollect\fR. .SH GLOBAL OPTIONS diff --git a/sos/collector/__init__.py b/sos/collector/__init__.py index 91001d9a..228b7109 100644 --- a/sos/collector/__init__.py +++ b/sos/collector/__init__.py @@ -366,7 +366,8 @@ class SoSCollector(SoSComponent): 'Cleaner/Masking Options', 'These options control how data obfuscation is performed' ) - cleaner_grp.add_argument('--clean', '--mask', dest='clean', + cleaner_grp.add_argument('--clean', '--cleaner', '--mask', + dest='clean', default=False, action='store_true', help='Obfuscate sensistive information') cleaner_grp.add_argument('--domains', dest='domains', default=[], diff --git a/sos/report/__init__.py b/sos/report/__init__.py index 68494787..e5a68b2c 100644 --- a/sos/report/__init__.py +++ b/sos/report/__init__.py @@ -308,7 +308,8 @@ class SoSReport(SoSComponent): 'Cleaner/Masking Options', 'These options control how data obfuscation is performed' ) - cleaner_grp.add_argument('--clean', '--mask', dest='clean', + cleaner_grp.add_argument('--clean', '--cleaner', '--mask', + dest='clean', default=False, action='store_true', help='Obfuscate sensistive information') cleaner_grp.add_argument('--domains', dest='domains', default=[], |