forked from josch/mmdebstrap
only print short --help output if wrong args are passed
This commit is contained in:
parent
884a04b18a
commit
d157ba2b9a
1 changed files with 1 additions and 1 deletions
|
@ -4722,7 +4722,7 @@ sub main() {
|
||||||
}
|
}
|
||||||
push @{ $options->{skip} }, $skip;
|
push @{ $options->{skip} }, $skip;
|
||||||
}
|
}
|
||||||
}) or pod2usage(-exitval => 2, -verbose => 1);
|
}) or pod2usage(-exitval => 2, -verbose => 0);
|
||||||
|
|
||||||
if (defined($logfile)) {
|
if (defined($logfile)) {
|
||||||
open(STDERR, '>', $logfile) or error "cannot open $logfile: $!";
|
open(STDERR, '>', $logfile) or error "cannot open $logfile: $!";
|
||||||
|
|
Loading…
Reference in a new issue