chiark / gitweb /
Install innduct-stats-report
[innduct.git] / innduct-stats-report
index 391dac1b3806764b910ec1b71c54220bbb2065c2..62007edd97a67248bc79a65d3f36209fa7e75fb6 100755 (executable)
@@ -10,6 +10,10 @@ our %counts;
 # Input lines look like this:
 # May 23 19:00:02 chiark innduct[23236]: news.relativity.greenend.org.uk| info: completed feedfile read=76 (+bl=7,+err=0) missing=0 offered=76 (ch=76,nc=0) accepted=75 (ch=75,nc=0) unwanted=1 (id=1,bod=0,nc=0) rejected=0 (id=0,bod=0,nc=0) deferred=0 (id=0,bod=0,nc=0) missing=0 (id=0,bod=0,nc=0) connretry=0 (id=0,bod=0,nc=0)
 
+if (@ARGV && $ARGV[0] =~ m/^\-/) {
+    die "$0: bad usage: no options supported\n";
+}
+
 while (<>) {
     next unless
        m/^ [:0-9A-Za-z ]+[ ]