There needs to be at least 3 args here, clearly.

This commit is contained in:
Bradley M. Kuhn 2012-09-07 12:48:51 -04:00
parent 0e8a0e8fb2
commit fb6f60477f

View file

@ -39,7 +39,7 @@ sub ParseNumber($) {
Math::BigFloat->precision(-2);
my $ZERO = Math::BigFloat->new("0.00");
if (@ARGV < 2) {
if (@ARGV < 3) {
print STDERR "usage: $0 <BEGIN_DATE> <END_DATE> <OTHER_LEDGER_OPTS>\n";
exit 1;
}