only print short --help output if wrong args are passed

This commit is contained in:
Johannes Schauer Marin Rodrigues 2024-01-08 23:01:53 +01:00
parent 884a04b18a
commit d157ba2b9a
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -4722,7 +4722,7 @@ sub main() {
}
push @{ $options->{skip} }, $skip;
}
}) or pod2usage(-exitval => 2, -verbose => 1);
}) or pod2usage(-exitval => 2, -verbose => 0);
if (defined($logfile)) {
open(STDERR, '>', $logfile) or error "cannot open $logfile: $!";