Parcourir la source

Add total number of lines to status output

Christoph Berg il y a 22 ans
Parent
commit
dd83f625ae
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 1 0
      docs/Changelog
  2. 1 1
      modules/Pisg/Parser/Logfile.pm

+ 1 - 0
docs/Changelog

@@ -4,6 +4,7 @@ pisg (0.60) - ??
    is_ignored(undef).
    is_ignored(undef).
    * Added scripts/eggdrop-pisg.tcl for running pisg from eggdrop (Thanks,
    * Added scripts/eggdrop-pisg.tcl for running pisg from eggdrop (Thanks,
    HM2K).
    HM2K).
+   * Add total number of lines to status output.
 
 
 pisg (0.59) - Sun Oct, 3rd 2004
 pisg (0.59) - Sun Oct, 3rd 2004
    Changes by Morten Brix Pedersen:
    Changes by Morten Brix Pedersen:

+ 1 - 1
modules/Pisg/Parser/Logfile.pm

@@ -522,7 +522,7 @@ sub _parse_file
 
 
     close(LOGFILE);
     close(LOGFILE);
 
 
-    print "Finished analyzing log, $stats->{days} days total\n"
+    print "Finished analyzing log, $stats->{days} days, $stats->{parsedlines} lines total\n"
         unless ($self->{cfg}->{silent});
         unless ($self->{cfg}->{silent});
 }
 }