summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-04-18 10:09:38 -0600
committerEd Santiago <santiago@redhat.com>2022-04-18 10:09:38 -0600
commit1b3dc899d67519348d12f891c34a08645304bbbb (patch)
treed170f415eeedd1e39842ddc2cc7bae4c89afc12b
parentcc4bc25bd0093dada976c5d0ea71d14c7a4c9a14 (diff)
downloadpodman-1b3dc899d67519348d12f891c34a08645304bbbb.tar.gz
podman-1b3dc899d67519348d12f891c34a08645304bbbb.tar.bz2
podman-1b3dc899d67519348d12f891c34a08645304bbbb.zip
manpage vs --help checker: better error messages
Use quotes to indicate the command, and remove some duplication Signed-off-by: Ed Santiago <santiago@redhat.com>
-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;
}
}