summaryrefslogtreecommitdiff
path: root/hack/man-page-checker
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-21 12:59:42 -0400
committerGitHub <noreply@github.com>2020-10-21 12:59:42 -0400
commita1b942ff401a9315dae05d9a3210780823d12839 (patch)
tree8da82d1850e9e5d833a9e5faa4457afab634db78 /hack/man-page-checker
parent9060af971911b6b4c21b2b24d011835954058d30 (diff)
parent980b1e87d40eedc175cdc76da668572b91784448 (diff)
downloadpodman-a1b942ff401a9315dae05d9a3210780823d12839.tar.gz
podman-a1b942ff401a9315dae05d9a3210780823d12839.tar.bz2
podman-a1b942ff401a9315dae05d9a3210780823d12839.zip
Merge pull request #8034 from rhatdan/options
Switch help messages from using [flags] to [options]
Diffstat (limited to 'hack/man-page-checker')
-rwxr-xr-xhack/man-page-checker4
1 files changed, 2 insertions, 2 deletions
diff --git a/hack/man-page-checker b/hack/man-page-checker
index 45f9edbd1..8ee0aaf6d 100755
--- a/hack/man-page-checker
+++ b/hack/man-page-checker
@@ -92,10 +92,10 @@ function compare_usage() {
# man page lists 'foo [*options*]', help msg shows 'foo [flags]'.
# Make sure if one has it, the other does too.
if expr "$from_man" : "\[\*options\*\]" >/dev/null; then
- if expr "$from_help" : "\[flags\]" >/dev/null; then
+ if expr "$from_help" : "\[options\]" >/dev/null; then
:
else
- echo "WARNING: $cmd: man page shows '[*options*]', help does not show [flags]"
+ echo "WARNING: $cmd: man page shows '[*options*]', help does not show [options]"
rc=1
fi
elif expr "$from_help" : "\[flags\]" >/dev/null; then