From 0101bbd4cc0589387edeccba5be108f0c5a657e2 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 (cherry picked from commit be2a56a4b7cc7de3dcf7e8d84b00649f1daa16ef) Signed-off-by: Arthur Suzuki --- 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 fe8dd2b80b..110acd37cc 100755 --- a/misc/cronjobs/runreport.pl +++ b/misc/cronjobs/runreport.pl @@ -94,7 +94,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> @@ -224,8 +228,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.5