فهرست منبع

Remove support for unnamed arguments on commandline.
Also enable nicktracking by default, and see how this goes..

Morten Brix Pedersen 25 سال پیش
والد
کامیت
abd2c1d7cb
2فایلهای تغییر یافته به همراه4 افزوده شده و 8 حذف شده
  1. 3 0
      Changelog
  2. 1 8
      pisg.pl

+ 3 - 0
Changelog

@@ -16,6 +16,9 @@ pisg (0.21)
    * Some small HTML validation fixes
    * Some small HTML validation fixes
    * Fix: pisg didn't find the alias for the kicker.
    * Fix: pisg didn't find the alias for the kicker.
    * Stop hardcoding filenames in 'legend'
    * Stop hardcoding filenames in 'legend'
+   * Removed support for unnamed arguments on commandline, everyone should now
+     use the named arguments. (For example you must do 'pisg.pl -l
+     logfile-name', and not just do 'pisg.pl chan logfile format maintainer')
    * Some nice speedup improvements
    * Some nice speedup improvements
 
 
 pisg (0.20) - Tue, Aug 14th 2001
 pisg (0.20) - Tue, Aug 14th 2001

+ 1 - 8
pisg.pl

@@ -90,7 +90,7 @@ my $conf = {
     activenicks => 25,
     activenicks => 25,
     activenicks2 => 30,
     activenicks2 => 30,
     topichistory => 3,
     topichistory => 3,
-    nicktracking => 0,
+    nicktracking => 1,
     timeoffset => "+0",
     timeoffset => "+0",
 
 
     # Misc settings
     # Misc settings
@@ -2419,13 +2419,6 @@ END_USAGE
                    die($usage);
                    die($usage);
                }
                }
 
 
-    if (@ARGV) {
-        if ($ARGV[0]) { $conf->{channel} = $ARGV[0]; }
-        if ($ARGV[1]) { $conf->{logfile} = $ARGV[1]; }
-        if ($ARGV[2]) { $conf->{outputfile} = $ARGV[2]; }
-        if ($ARGV[3]) { $conf->{maintainer} = $ARGV[3]; }
-    }
-
     if ($tmp) {
     if ($tmp) {
         die("The aliasfile and ignorefile has been obsoleted by the new
         die("The aliasfile and ignorefile has been obsoleted by the new
         pisg.cfg, please use that instead [look in pisg.cfg]\n");
         pisg.cfg, please use that instead [look in pisg.cfg]\n");