make the straight listing of rows for the file optional via --list
authorJason Etheridge <jason@equinoxinitiative.org>
Fri, 31 Jul 2020 14:46:31 +0000 (10:46 -0400)
committerJason Etheridge <jason@equinoxinitiative.org>
Fri, 31 Jul 2020 14:46:31 +0000 (10:46 -0400)
Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>

emig.d/bin/mig-quicksheet

index b33e2e0..76d227e 100755 (executable)
@@ -59,12 +59,14 @@ use EMig;
 my $outtable = '';
 my $outfile = '';
 my $force;
+my $list;
 my $drop;
 my $help;
 
 GetOptions(
        'outtable=s' => \$outtable,
        'outfile=s' => \$outfile,
+    'list' => \$list,
        'force' => \$force,
        'drop' => \$drop,
        'help|?' => \$help
@@ -286,7 +288,7 @@ sub write_worksheets {
         };
     }
 
-    handle_list();
+    handle_list() if $list;
     handle_columns();
 
     if ($outfile) {