projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d397c01
)
RT# 82906 Fix typos in script help text
author
Mitch Jackson
<mitch@freeside.biz>
Mon, 27 May 2019 21:12:47 +0000
(17:12 -0400)
committer
Mitch Jackson
<mitch@freeside.biz>
Mon, 27 May 2019 21:12:47 +0000
(17:12 -0400)
FS/bin/freeside-issue-credit-for-taxnums
patch
|
blob
|
history
diff --git
a/FS/bin/freeside-issue-credit-for-taxnums
b/FS/bin/freeside-issue-credit-for-taxnums
index
8b7a122
..
016c14e
100755
(executable)
--- a/
FS/bin/freeside-issue-credit-for-taxnums
+++ b/
FS/bin/freeside-issue-credit-for-taxnums
@@
-293,18
+293,18
@@
sub validate_opts {
error_and_help( '--csv_dir is required' )
unless $csv_dir;
error_and_help( '--csv_dir is required' )
unless $csv_dir;
- error_and_help( '--start
_
date is required' )
+ error_and_help( '--start
-
date is required' )
unless $start_date;
error_and_help( '--end-date is required' )
unless $end_date;
error_and_help( '--taxnums is required' )
unless @taxnums;
unless $start_date;
error_and_help( '--end-date is required' )
unless $end_date;
error_and_help( '--taxnums is required' )
unless @taxnums;
- error_and_help( '--credit-reasonnum is required with --
apply
-credits' )
+ error_and_help( '--credit-reasonnum is required with --
insert
-credits' )
if $insert_credits && !$credit_reasonnum;
if $insert_credits && !$credit_reasonnum;
- error_and_help( '--credit-addlinfo is required with --
apply
-credits' )
+ error_and_help( '--credit-addlinfo is required with --
insert
-credits' )
if $insert_credits && !$credit_addlinfo;
if $insert_credits && !$credit_addlinfo;
- error_and_help( "csv dir ($csv_dir) is not a writable directory
u
" )
+ error_and_help( "csv dir ($csv_dir) is not a writable directory" )
unless -d $csv_dir && -r $csv_dir;
error_and_help( "start_date($start_date) is not a valid date string")
unless -d $csv_dir && -r $csv_dir;
error_and_help( "start_date($start_date) is not a valid date string")