aboutsummaryrefslogtreecommitdiff
path: root/hack/man-page-checker
diff options
context:
space:
mode:
authorRyan Whalen <rj.whalen@gmail.com>2019-08-30 12:28:52 -0400
committerRyan Whalen <rj.whalen@gmail.com>2019-08-30 12:47:41 -0400
commitc153895424d2b1071be8094d1f69670086af7332 (patch)
treee6d613533721262dc62d59593475a266bb25c3eb /hack/man-page-checker
parent2d95ede7a2b85bdced1d7f6e0cf5302f7b5cfda6 (diff)
downloadpodman-c153895424d2b1071be8094d1f69670086af7332.tar.gz
podman-c153895424d2b1071be8094d1f69670086af7332.tar.bz2
podman-c153895424d2b1071be8094d1f69670086af7332.zip
WIP - ignore man pages for commands besides podman
Signed-off-by: Ryan Whalen <rj.whalen@gmail.com>
Diffstat (limited to 'hack/man-page-checker')
-rwxr-xr-xhack/man-page-checker5
1 files changed, 5 insertions, 0 deletions
diff --git a/hack/man-page-checker b/hack/man-page-checker
index 69c629c52..a1007d56f 100755
--- a/hack/man-page-checker
+++ b/hack/man-page-checker
@@ -41,6 +41,11 @@ done
# Make sure the descriptive text in podman-foo.1.md matches the one
# in the table in podman.1.md.
for md in *-*.1.md;do
+ # Currently the only exception.
+ if [ "$md" = "podman-remote.1.md" ]; then
+ continue
+ fi
+
desc=$(egrep -A1 '^#* NAME' $md|tail -1|sed -e 's/^podman[^ ]\+ - //')
# podman.1.md has a two-column table; podman-*.1.md all have three.