first cuts of kmig-*iconv
[migration-tools.git] / mig-bin / mig-reporter
index 1bc3d56..f87059e 100755 (executable)
@@ -3,13 +3,17 @@
 ###############################################################################
 =pod
 
-=item B<reporter> --analyst "Analyst Name" --report_title "Report Title"
+=item B<reporter> --title "Report Title"
 
 Generates an asciidoc file in the git working directory that can be converted to 
 any appropriate format.  The analyst and report parameters are required.
 
 Optional parameters are : 
 
+-- analyst
+
+Default to "Equinox Open Library Initiative"
+
 --added_page_title and --added_page_file 
 
 If one is used both must be.  The added page file can be plain text or asciidoc.  This
@@ -400,7 +404,7 @@ sub print_query {
        my $display = $report{display};
        my $height = $report{divheight};
        my $width = $report{divwidth};
-       if (!defined $display) { $display = 'table'; }
+       if (!defined $display or length $display == 0) { $display = 'table'; }
        my $rname = $report{name};
     my $query = $report{query};
        my $title = $report{report_title};
@@ -445,7 +449,7 @@ sub print_query {
        }
        }
 
-    #print pie chart 
+    #print chart 
        if ($display eq 'pie_chart' or $display eq 'donut_chart') {
                my @h = split(/\./,$report{heading});
            my @l = split(/\./,$report{chart_labels});