summaryrefslogtreecommitdiff
path: root/contrib/non-profit-audit-reports/general-ledger-report.plx
diff options
context:
space:
mode:
authorBradley M. Kuhn <bkuhn@ebb.org>2012-09-07 12:48:51 -0400
committerBradley M. Kuhn <bkuhn@ebb.org>2012-09-07 12:48:51 -0400
commitfb6f60477f35e883ce111ee296709493d832a2d1 (patch)
tree3d8fb8a3b122eb314d97bfb022eac83c083cbfc4 /contrib/non-profit-audit-reports/general-ledger-report.plx
parent0e8a0e8fb261660154183d4b551aaeab0298a89e (diff)
downloadfork-ledger-fb6f60477f35e883ce111ee296709493d832a2d1.tar.gz
fork-ledger-fb6f60477f35e883ce111ee296709493d832a2d1.tar.bz2
fork-ledger-fb6f60477f35e883ce111ee296709493d832a2d1.zip
There needs to be at least 3 args here, clearly.
Diffstat (limited to 'contrib/non-profit-audit-reports/general-ledger-report.plx')
-rwxr-xr-xcontrib/non-profit-audit-reports/general-ledger-report.plx2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/non-profit-audit-reports/general-ledger-report.plx b/contrib/non-profit-audit-reports/general-ledger-report.plx
index 739f5657..d5bc1888 100755
--- a/contrib/non-profit-audit-reports/general-ledger-report.plx
+++ b/contrib/non-profit-audit-reports/general-ledger-report.plx
@@ -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;
}