mirror of
https://github.com/containers/podman.git
synced 2025-05-17 15:18:43 +08: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:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user