Blame SOURCES/sos-bz2055002-rebase-sos-add-sos-help.patch

f7c38e
From b5389aa195675f473acdd22f20017a8854ff82d0 Mon Sep 17 00:00:00 2001
f7c38e
From: Pavel Moravec <pmoravec@redhat.com>
f7c38e
Date: Wed, 16 Feb 2022 08:43:32 +0100
f7c38e
Subject: [PATCH] [man] Mention sos-help in main sos manpage
f7c38e
f7c38e
Related to #2860
f7c38e
f7c38e
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
f7c38e
---
f7c38e
 man/en/sos.1 | 8 ++++++++
f7c38e
 1 file changed, 8 insertions(+)
f7c38e
f7c38e
diff --git a/man/en/sos.1 b/man/en/sos.1
f7c38e
index ce4918f99..c335b7e10 100644
f7c38e
--- a/man/en/sos.1
f7c38e
+++ b/man/en/sos.1
f7c38e
@@ -67,6 +67,14 @@ May be invoked via either \fBsos clean\fR, \fBsos cleaner\fR, \fBsos mask\fR,
f7c38e
 or via the \fB--clean\fR, \fB--cleaner\fR or \fB --mask\fR options
f7c38e
 for \fBreport\fR and \fBcollect\fR.
f7c38e
 
f7c38e
+.TP
f7c38e
+.B help
f7c38e
+This subcommand is used to retrieve more detailed information on the various SoS
f7c38e
+commands and components than is directly available in either other manpages or
f7c38e
+--help output.
f7c38e
+
f7c38e
+See \fB sos help --help\fR and \fB man sos-help\fR for more information.
f7c38e
+
f7c38e
 .SH GLOBAL OPTIONS
f7c38e
 sos components provide their own set of options, however the following are available
f7c38e
 to be set across all components.
f7c38e
From ac4eb48fa35c13b99ada41540831412480babf8d Mon Sep 17 00:00:00 2001
f7c38e
From: Pavel Moravec <pmoravec@redhat.com>
f7c38e
Date: Wed, 16 Feb 2022 08:44:16 +0100
f7c38e
Subject: [PATCH] [setup] Add sos-help to build process
f7c38e
f7c38e
Resolves: #2860
f7c38e
Closes: #2861
f7c38e
f7c38e
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
f7c38e
---
f7c38e
 setup.py | 5 +++--
f7c38e
 1 file changed, 3 insertions(+), 2 deletions(-)
f7c38e
f7c38e
diff --git a/setup.py b/setup.py
f7c38e
index 25e87a71b..8db8641f0 100644
f7c38e
--- a/setup.py
f7c38e
+++ b/setup.py
f7c38e
@@ -90,7 +90,7 @@ def copy_file (self, filename, dirname):
f7c38e
         ('share/man/man1', ['man/en/sosreport.1', 'man/en/sos-report.1',
f7c38e
                             'man/en/sos.1', 'man/en/sos-collect.1',
f7c38e
                             'man/en/sos-collector.1', 'man/en/sos-clean.1',
f7c38e
-                            'man/en/sos-mask.1']),
f7c38e
+                            'man/en/sos-mask.1', 'man/en/sos-help.1']),
f7c38e
         ('share/man/man5', ['man/en/sos.conf.5']),
f7c38e
         ('share/licenses/sos', ['LICENSE']),
f7c38e
         ('share/doc/sos', ['AUTHORS', 'README.md']),
f7c38e
@@ -102,7 +102,8 @@ def copy_file (self, filename, dirname):
f7c38e
         'sos.policies.package_managers', 'sos.policies.init_systems',
f7c38e
         'sos.report', 'sos.report.plugins', 'sos.collector',
f7c38e
         'sos.collector.clusters', 'sos.collector.transports', 'sos.cleaner',
f7c38e
-        'sos.cleaner.mappings', 'sos.cleaner.parsers', 'sos.cleaner.archives'
f7c38e
+        'sos.cleaner.mappings', 'sos.cleaner.parsers', 'sos.cleaner.archives',
f7c38e
+        'sos.help'
f7c38e
     ],
f7c38e
     cmdclass=cmdclass,
f7c38e
     command_options=command_options,