use Getopt::Long;
use Pod::Usage;
+use Koha::Script;
use Koha::Patrons::Import;
my $Import = Koha::Patrons::Import->new();
'm|matchpoint=s' => \$matchpoint,
'd|default=s' => \%defaults,
'o|overwrite' => \$overwrite_cardnumber,
- 'p|preserve-extended-atributes' => \$ext_preserve,
+ 'p|preserve-extended-attributes' => \$ext_preserve,
'v|verbose+' => \$verbose,
'h|help|?' => \$help,
) or pod2usage(2);
=head1 SYNOPSIS
-import_patrons.pl --file /path/to/patrons.csv --matchpoint cardnumber --confirm [--default branchcode=MPL] [--overwrite] [--preserve-extended-atributes] [--verbose]
+import_patrons.pl --file /path/to/patrons.csv --matchpoint cardnumber --confirm [--default branchcode=MPL] [--overwrite] [--preserve-extended-attributes] [--verbose]
=head1 OPTIONS
-=over8
+=over 8
=item B<-h|--help>
Overwrite existing patrons with new data if a match is found
-=item B<-p|--preserve-extended-atributes>
+=item B<-p|--preserve-extended-attributes>
Retain extended patron attributes for existing patrons being overwritten
Be verbose
+Multiple -v options increase the verbosity
+
+2 repetitions or above will report lines in error
+
+3 repetitions or above will report feedback
+
=back
=cut