summaryrefslogtreecommitdiff
path: root/hack/xref-helpmsgs-manpages
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-04-18 13:39:54 -0400
committerGitHub <noreply@github.com>2022-04-18 13:39:54 -0400
commitd6f47e692bc694d3ec4f3505acaccf7fa0b73231 (patch)
treed170f415eeedd1e39842ddc2cc7bae4c89afc12b /hack/xref-helpmsgs-manpages
parentcc4bc25bd0093dada976c5d0ea71d14c7a4c9a14 (diff)
parent1b3dc899d67519348d12f891c34a08645304bbbb (diff)
downloadpodman-d6f47e692bc694d3ec4f3505acaccf7fa0b73231.tar.gz
podman-d6f47e692bc694d3ec4f3505acaccf7fa0b73231.tar.bz2
podman-d6f47e692bc694d3ec4f3505acaccf7fa0b73231.zip
Merge pull request #13910 from edsantiago/ultra_minor_message_fix
[CI:DOCS] manpage vs --help checker: better error messages
Diffstat (limited to 'hack/xref-helpmsgs-manpages')
-rwxr-xr-xhack/xref-helpmsgs-manpages4
1 files changed, 2 insertions, 2 deletions
diff --git a/hack/xref-helpmsgs-manpages b/hack/xref-helpmsgs-manpages
index 1f022531e..7c07a4f01 100755
--- a/hack/xref-helpmsgs-manpages
+++ b/hack/xref-helpmsgs-manpages
@@ -135,7 +135,7 @@ sub xref_by_help {
}
else {
my $man = $man->{_path} || 'man';
- warn "$ME: podman @subcommand --help lists $k, but $k not in $man\n";
+ warn "$ME: 'podman @subcommand --help' lists '$k', which is not in $man\n";
++$Errs;
}
}
@@ -186,7 +186,7 @@ sub xref_by_man {
# Special case: podman completion is a hidden command
next if $k eq 'completion';
- warn "$ME: podman @subcommand: $k in $man, but not --help\n";
+ warn "$ME: 'podman @subcommand': $k in $man, but not --help\n";
++$Errs;
}
}