Merge pull request #13910 from edsantiago/ultra_minor_message_fix

[CI:DOCS] manpage vs --help checker: better error messages
This commit is contained in:
OpenShift Merge Robot 2022-04-18 13:39:54 -04:00 committed by GitHub
commit d6f47e692b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}