Bug 33285: (QA follow-up) add POD and fix some code style

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Fridolin Somers 2023-03-31 12:16:43 -10:00 committed by Tomas Cohen Arazi
parent bad0d52245
commit 6221538b6d
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -87,7 +87,11 @@ Verbose. Without this flag set, only fatal errors are reported.
=item B<--format>
Current options are text, html, csv, and tsv. At the moment, text and tsv both produce tab-separated tab-separated output.
Current options are text, html, csv, and tsv. At the moment, text and tsv both produce tab-separated output.
=item B<--separator>
Separator character, only for csv format. Default to comma.
=item B<--email>
@ -221,8 +225,8 @@ unless ($format) {
$format = 'text';
}
if( $csv_separator ){
if( $format eq 'csv' ) {
if ($csv_separator) {
if ( $format eq 'csv' ) {
$separator = "$csv_separator";
} else {
print STDERR "Cannot specify separator if not using CSV format\n";