Man pages: refactor common options

Continued. Harder-to-review ones this time.

Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
Ed Santiago
2022-08-09 15:02:08 -06:00
parent 72679400b0
commit 2bcee9f627
23 changed files with 186 additions and 534 deletions

View File

@@ -29,7 +29,7 @@ def process(infile):
# Some options are the same between containers and pods; determine
# which description to use from the name of the source man page.
pod_or_container = 'container'
if '-pod-' in infile:
if '-pod-' in infile or '-kube-' in infile:
pod_or_container = 'pod'
# Sometimes a man page includes the subcommand.