changeset 351:d5735e2cdb16 misc

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 20 Oct 2017 23:20:34 +0300
parents 14b3b8dfc797
children b80107b8a493
files log2template.pl
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/log2template.pl	Fri Oct 20 23:05:27 2017 +0300
+++ b/log2template.pl	Fri Oct 20 23:20:34 2017 +0300
@@ -100,7 +100,9 @@
 );
 
 
-### Options
+###
+### Parse commandline arguments
+###
 while (defined(my $arg = shift)) {
   if ($arg eq "-d") {
     $opt_debug++;
@@ -125,7 +127,7 @@
   }
   else {
     die("Invalid option '$arg'.
-Usage: $0 [options] < input.log > output.txt
+Usage: $0 [options] < input.log
 
     -o <filename>         Output filename.
     -d                    Enable debug mode.