summaryrefslogtreecommitdiff
path: root/hack/markdown-preprocess
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-08-09 15:02:08 -0600
committerEd Santiago <santiago@redhat.com>2022-08-09 16:18:53 -0600
commit2bcee9f627b2cd1e3fe588b581aff05821f5841d (patch)
tree4a17d840d90e19057a517358986d6587610d2f6f /hack/markdown-preprocess
parent72679400b0cd7d059f20b2b84ee8b42306ce607a (diff)
downloadpodman-2bcee9f627b2cd1e3fe588b581aff05821f5841d.tar.gz
podman-2bcee9f627b2cd1e3fe588b581aff05821f5841d.tar.bz2
podman-2bcee9f627b2cd1e3fe588b581aff05821f5841d.zip
Man pages: refactor common options
Continued. Harder-to-review ones this time. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'hack/markdown-preprocess')
-rwxr-xr-xhack/markdown-preprocess2
1 files changed, 1 insertions, 1 deletions
diff --git a/hack/markdown-preprocess b/hack/markdown-preprocess
index 0b66abb06..86667a32d 100755
--- a/hack/markdown-preprocess
+++ b/hack/markdown-preprocess
@@ -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.