mirror of
https://github.com/containers/podman.git
synced 2026-03-13 08:01:19 +08:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user