Bug 35061: Fix documentation for -pf|preserve-field in import_patrons.pl

There was a mismatch between the documentation and the shortcut used
in the code. This patch fixes the documentation so it matches the code:

'pf|preserve-field=s'            => \@preserve_fields,

=item B<-k|--preserve-field>

Prevent specified patron fields for existing patrons from being overwritten

So pf is the right shortcut.

Signed-off-by: Aleisha Amohia <aleisha@catalyst.net.nz>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
Katrin Fischer 2026-07-05 10:49:44 +00:00 committed by Pedro Amorim
parent d6e40f612c
commit 7de8e290b9
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ Field on which to match incoming patrons to existing patrons
Set defaults to patron fields, repeatable e.g. --default branchcode=MPL --default categorycode=PT
=item B<-k|--preserve-field>
=item B<-pf|--preserve-field>
Prevent specified patron fields for existing patrons from being overwritten