From 2cf573ab347da9e0f570dbf05961c38d3b0f7aaa Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Tue, 5 Feb 2019 22:12:03 +0000 Subject: [PATCH] Bug 22299: Fix typo in option of import_patrons.pl Fix typo in 'p|preserve-extended-atributes' option of the import_patrons.pl script. To test: - Use the script to import patron data. - Verify behaviour is the same with and without the patch concerning the preserve-extended_at(t)tributes option Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens --- misc/import_patrons.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/import_patrons.pl b/misc/import_patrons.pl index 5a7916b620..8f639a5a3b 100755 --- a/misc/import_patrons.pl +++ b/misc/import_patrons.pl @@ -40,7 +40,7 @@ GetOptions( '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); @@ -99,7 +99,7 @@ import_patrons.pl - CLI script to import patrons data into Koha =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 @@ -129,7 +129,7 @@ Set defaults to patron fields, repeatable e.g. --default branchcode=MPL --defaul 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 -- 2.39.5