changeset 97:1b370b589202 misc

Add information about operation modes into help.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 27 Apr 2010 05:32:37 +0000
parents 99d29369d063
children ed2389b3b3eb
files magestats.pl
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/magestats.pl	Mon Apr 26 05:53:23 2010 +0000
+++ b/magestats.pl	Tue Apr 27 05:32:37 2010 +0000
@@ -25,7 +25,7 @@
 
 # Settings and defaults
 my $prog_name = "Magestats";
-my $prog_version = "0.6.2";
+my $prog_version = "0.6.3";
 my $prog_file = $0;
 
 my $opt_cachefile;
@@ -58,6 +58,14 @@
 Usage: $prog_file dump [options] < logfile
        $prog_file stats [options] < logfile
 
+ 'dump' mode parses input log (unless -n is specified) and dumps
+        the whole state into standard output. This dump acts as
+        a cache, which can be later restored and added to.
+        
+ 'stats' mode parses input (unless -n is specified) and outputs
+        statistics in HTML format file with graphs in specified
+        image format ($opt_imgfmt by default).
+
  -v                Verbose mode
  -c <cachefile>    Specify a cache file to restore from
  -p <prefix>       Output filename prefix ('$opt_prefix')