Bug 20434: Update UNIMARC framework - auth (TU)
[koha-ffzg.git] / misc / add_date_fields_to_marc_records.pl
index e20cf63..b7ab77c 100755 (executable)
@@ -22,6 +22,8 @@ BEGIN {
     eval { require "$FindBin::Bin/../kohalib.pl" };
 }
 
+use Koha::Script;
+
 use Getopt::Long;
 use Pod::Usage;
 use MARC::Field;
@@ -138,7 +140,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