summaryrefslogtreecommitdiff
path: root/hack
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-09-03 05:34:06 -0700
committerGitHub <noreply@github.com>2019-09-03 05:34:06 -0700
commit7e238b9e0c650b20f1a325dad14ef94a3e7d1aab (patch)
treed91199d3e0e96f5522fd7bf7acff7401e6291b88 /hack
parent50a191037d8d95f3f28e8dce677c63753cf6b78d (diff)
parent09f373283ac8d0f22bfe5c47746dfd920b004d9d (diff)
downloadpodman-7e238b9e0c650b20f1a325dad14ef94a3e7d1aab.tar.gz
podman-7e238b9e0c650b20f1a325dad14ef94a3e7d1aab.tar.bz2
podman-7e238b9e0c650b20f1a325dad14ef94a3e7d1aab.zip
Merge pull request #3915 from rwha/fix_man_page_tests
Fix formatting and enable hack/man-page-checker
Diffstat (limited to 'hack')
-rwxr-xr-xhack/man-page-checker5
1 files changed, 3 insertions, 2 deletions
diff --git a/hack/man-page-checker b/hack/man-page-checker
index 8e9b5a50d..ab1921b86 100755
--- a/hack/man-page-checker
+++ b/hack/man-page-checker
@@ -39,8 +39,9 @@ done
# Pass 2: compare descriptions.
#
# 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
+# in the table in podman.1.md. podman-remote is not a podman subcommand,
+# so it is excluded here.
+for md in $(ls -1 *-*.1.md | grep -v remote);do
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.