1. "Apparent command =item not preceded by blank line"
2. Display the options for help
3. Do not run if no --field passed
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
'unless-exists=s' => \$unless_exists_field,
) || podusage(1);
-pod2usage(0) if $help;
+pod2usage(1) if $help;
+pod2usage("Parameter field is mandatory") unless @fields;
my @fields_to_add;
my $dt = dt_from_string; # Could be an option of the script
The replacement tokens are the ones used by strftime.
+=head1 OPTIONS
+
=over 8
=item B<--help>
=item B<--confirm>
Confirmation flag, the script will be running in dry-run mode if set not.
+
=item B<--where>
Limits the search on bibliographic records with a user-specified WHERE clause.