diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-08-10 10:20:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 10:20:45 +0000 |
commit | c4a35313c93b4384766af914bd1241bb77ebdbe5 (patch) | |
tree | 3f8ae6fd22ad1065d4df83ab6f717cf7497f6ca7 /hack/markdown-preprocess | |
parent | 84502fc1447867aba66ea6725e22bb57cddce42c (diff) | |
parent | 2bcee9f627b2cd1e3fe588b581aff05821f5841d (diff) | |
download | podman-c4a35313c93b4384766af914bd1241bb77ebdbe5.tar.gz podman-c4a35313c93b4384766af914bd1241bb77ebdbe5.tar.bz2 podman-c4a35313c93b4384766af914bd1241bb77ebdbe5.zip |
Merge pull request #15260 from edsantiago/docs_dedup_continued
Man pages: refactor common options
Diffstat (limited to 'hack/markdown-preprocess')
-rwxr-xr-x | hack/markdown-preprocess | 2 |
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. |