From 0b783783706f88d04225c0a42759798ae14c9755 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Sat, 11 May 2019 18:58:20 -0500 Subject: [PATCH] Bug 22509: Clarify with an example the usage of --unless-exists Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- misc/add_date_fields_to_marc_records.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/misc/add_date_fields_to_marc_records.pl b/misc/add_date_fields_to_marc_records.pl index e20cf639e2..e57679bb43 100755 --- a/misc/add_date_fields_to_marc_records.pl +++ b/misc/add_date_fields_to_marc_records.pl @@ -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 -- 2.39.5