|
Lines 67-72
$record_type ||= 'bibs';
Link Here
|
| 67 |
# Retrocompatibility for the format parameter |
67 |
# Retrocompatibility for the format parameter |
| 68 |
$output_format = 'iso2709' if $output_format eq 'marc'; |
68 |
$output_format = 'iso2709' if $output_format eq 'marc'; |
| 69 |
|
69 |
|
|
|
70 |
if ( $output_format eq 'csv' and $record_type eq 'auths' ) { |
| 71 |
pod2usage(q|CSV output is only available for biblio records|); |
| 72 |
} |
| 73 |
|
| 70 |
|
74 |
|
| 71 |
if ( $timestamp and $record_type ne 'bibs' ) { |
75 |
if ( $timestamp and $record_type ne 'bibs' ) { |
| 72 |
pod2usage(q|--timestamp can only be used with biblios|); |
76 |
pod2usage(q|--timestamp can only be used with biblios|); |
|
Lines 221-227
Print a brief help message.
Link Here
|
| 221 |
|
225 |
|
| 222 |
=item B<--format> |
226 |
=item B<--format> |
| 223 |
|
227 |
|
| 224 |
--format=FORMAT FORMAT is either 'xml', 'csv' or 'marc' (default). |
228 |
--format=FORMAT FORMAT is either 'xml', 'csv' (biblio records only) or 'marc' (default). |
| 225 |
|
229 |
|
| 226 |
=item B<--date> |
230 |
=item B<--date> |
| 227 |
|
231 |
|
|
Lines 242-247
Print a brief help message.
Link Here
|
| 242 |
|
246 |
|
| 243 |
--csv_profile_id=ID Generate a CSV file with the given CSV profile id (see tools/csv-profiles.pl) |
247 |
--csv_profile_id=ID Generate a CSV file with the given CSV profile id (see tools/csv-profiles.pl) |
| 244 |
Unless provided, the one defined in the system preference 'ExportWithCsvProfile' will be used. |
248 |
Unless provided, the one defined in the system preference 'ExportWithCsvProfile' will be used. |
|
|
249 |
This can only be used to export biblio records. |
| 245 |
|
250 |
|
| 246 |
=item B<--deleted_barcodes> |
251 |
=item B<--deleted_barcodes> |
| 247 |
|
252 |
|
| 248 |
- |
|
|