Bug 22509: Clarify with an example the usage of --unless-exists
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sat, 11 May 2019 23:58:20 +0000 (18:58 -0500)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 24 Jun 2019 14:06:47 +0000 (15:06 +0100)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

misc/add_date_fields_to_marc_records.pl

index e20cf63..e57679b 100755 (executable)
@@ -138,7 +138,11 @@ For instance:
 
 =item B<--unless-exists>
 
-Will only create the new fields if this field does not exist
+Will only create the new fields if this field does not exist.
+
+For instance, if --field='905$a=0/%Y' and --unless-exists='905$a' are provided, a 905$a will be created unless there is already one.
+If --unless-exists is not passed, a new 905$a will be created in any case.
+
 
 =back