View | Details | Raw Unified | Return to bug 21710
Collapse All | Expand All

(-)a/misc/import_patrons.pl (-4 / +3 lines)
Lines 40-46 GetOptions( Link Here
40
    'm|matchpoint=s'                => \$matchpoint,
40
    'm|matchpoint=s'                => \$matchpoint,
41
    'd|default=s'                   => \%defaults,
41
    'd|default=s'                   => \%defaults,
42
    'o|overwrite'                   => \$overwrite_cardnumber,
42
    'o|overwrite'                   => \$overwrite_cardnumber,
43
    'p|preserve-extended-atributes' => \$ext_preserve,
43
    'p|preserve-extended-attributes' => \$ext_preserve,
44
    'v|verbose+'                    => \$verbose,
44
    'v|verbose+'                    => \$verbose,
45
    'h|help|?'                      => \$help,
45
    'h|help|?'                      => \$help,
46
) or pod2usage(2);
46
) or pod2usage(2);
Lines 99-105 import_patrons.pl - CLI script to import patrons data into Koha Link Here
99
99
100
=head1 SYNOPSIS
100
=head1 SYNOPSIS
101
101
102
import_patrons.pl --file /path/to/patrons.csv --matchpoint cardnumber --confirm [--default branchcode=MPL] [--overwrite] [--preserve-extended-atributes] [--verbose]
102
import_patrons.pl --file /path/to/patrons.csv --matchpoint cardnumber --confirm [--default branchcode=MPL] [--overwrite] [--preserve-extended-attributes] [--verbose]
103
103
104
=head1 OPTIONS
104
=head1 OPTIONS
105
105
Lines 129-135 Set defaults to patron fields, repeatable e.g. --default branchcode=MPL --defaul Link Here
129
129
130
Overwrite existing patrons with new data if a match is found
130
Overwrite existing patrons with new data if a match is found
131
131
132
=item B<-p|--preserve-extended-atributes>
132
=item B<-p|--preserve-extended-attributes>
133
133
134
Retain extended patron attributes for existing patrons being overwritten
134
Retain extended patron attributes for existing patrons being overwritten
135
135
136
- 

Return to bug 21710