From be2a56a4b7cc7de3dcf7e8d84b00649f1daa16ef Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Fri, 31 Mar 2023 12:16:43 -1000 Subject: [PATCH] Bug 33285: (QA follow-up) add POD and fix some code style Signed-off-by: Fridolin Somers Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 6221538b6d54d85b403296191a9d2fb27d34116c) Signed-off-by: Jacob O'Mara (cherry picked from commit 4a1c87fe361cf20c41df2da1596341069cb3962a) Signed-off-by: Lucas Gass --- misc/cronjobs/runreport.pl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/misc/cronjobs/runreport.pl b/misc/cronjobs/runreport.pl index 418158f19b..2e7df8b998 100755 --- a/misc/cronjobs/runreport.pl +++ b/misc/cronjobs/runreport.pl @@ -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> @@ -219,8 +223,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"; -- 2.39.2