Bug 22299: Fix typo in option of import_patrons.pl
authorKatrin Fischer <katrin.fischer.83@web.de>
Tue, 5 Feb 2019 22:12:03 +0000 (22:12 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 15 Feb 2019 18:42:48 +0000 (18:42 +0000)
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 <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

misc/import_patrons.pl

index 5a7916b..8f639a5 100755 (executable)
@@ -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