mirror of
https://github.com/containers/podman
synced 2024-10-20 01:03:51 +00:00
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>
This commit is contained in:
parent
cc4bc25bd0
commit
1b3dc899d6
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue