From f58743c512ef4af2ad2ba84c6c22ec6df7f2395e 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 --- 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.11.0