Bug 19451: (QA follow-up) Change parameter name no_overwrite to no-overwrite for...
authorJosef Moravec <josef.moravec@gmail.com>
Wed, 7 Feb 2018 21:06:10 +0000 (21:06 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Feb 2018 21:01:59 +0000 (18:01 -0300)
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
misc/maintenance/borrowers-force-messaging-defaults.pl

index 4a1f42d..2daa8b7 100755 (executable)
@@ -81,7 +81,7 @@ my $result = GetOptions(
     'truncate'    => \$truncate,
     'since:s'     => \$since,
     'not-expired' => \$not_expired,
-    'no_overwrite'  => \$no_overwrite,
+    'no-overwrite'  => \$no_overwrite,
     'help|h'      => \$help,
 );
 
@@ -111,7 +111,7 @@ Filled' notice for example.
 
 This script creates/overwrites messaging preferences for all borrowers and sets
 them to default values defined for the category they belong to (unless you
-use the options -not-expired or -no_overwrite to update a subset).
+use the options -not-expired or -no-overwrite to update a subset).
 
 =over 8
 
@@ -132,7 +132,7 @@ affects borrower_message_preferences table.
 
 Will only update active borrowers (borrowers who didn't pass their expiration date).
 
-=item B<--no_overwrite>
+=item B<--no-overwrite>
 
 Will only update patrons without messaging preferences and skip patrons that
 already set their preferences.