Browse Source

Change -n to -ne in --help output

Christoph Berg 21 năm trước cách đây
mục cha
commit
d68ff71f23
3 tập tin đã thay đổi với 15 bổ sung3 xóa
  1. 2 0
      docs/Changelog
  2. 10 0
      docs/pisg-doc.xml
  3. 3 3
      pisg

+ 2 - 0
docs/Changelog

@@ -4,6 +4,8 @@ pisg (0.66) - ??
      + Complain if CacheDir does not exist.
      + Complain if CacheDir does not exist.
      + Note that caching does not work for "one big logfile" setups.
      + Note that caching does not work for "one big logfile" setups.
    * Add correct ChartsRegexp to documentation.
    * Add correct ChartsRegexp to documentation.
+   * Change -n to -ne in --help output (thanks to Thomas Matthijs for the
+     patch).
 
 
 pisg (0.65) - Fri Apr, 15th 2005
 pisg (0.65) - Fri Apr, 15th 2005
    Christoph:
    Christoph:

+ 10 - 0
docs/pisg-doc.xml

@@ -3727,21 +3727,31 @@
 
 
     <para>
     <para>
     pisg - Perl IRC Statistics Generator
     pisg - Perl IRC Statistics Generator
+    </para>
 
 
+    <para>
     Copyright (C) 2001-2005  Morten Brix Pedersen - &lt;morten at wtf.dk&gt;
     Copyright (C) 2001-2005  Morten Brix Pedersen - &lt;morten at wtf.dk&gt;
+    </para>
 
 
+    <para>
     Copyright (C) 2003-2005  Christoph Berg &lt;cb at df7cb.de&gt;
     Copyright (C) 2003-2005  Christoph Berg &lt;cb at df7cb.de&gt;
+    </para>
 
 
+    <para>
     This program is free software; you can redistribute it and/or modify
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     it under the terms of the GNU General Public License as published by
     the Free Software Foundation; either version 2 of the License, or
     the Free Software Foundation; either version 2 of the License, or
     (at your option) any later version.
     (at your option) any later version.
+    </para>
 
 
+    <para>
     This program is distributed in the hope that it will be useful,
     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.
     GNU General Public License for more details.
+    </para>
 
 
+    <para>
     You should have received a copy of the GNU General Public License
     You should have received a copy of the GNU General Public License
     along with this program; if not, write to the Free Software
     along with this program; if not, write to the Free Software
     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

+ 3 - 3
pisg

@@ -82,7 +82,7 @@ sub get_cmdline_options
 
 
 my $usage = <<END_USAGE;
 my $usage = <<END_USAGE;
 Usage: pisg [-ch channel] [-l logfile] [-o outputfile] [-ma maintainer]
 Usage: pisg [-ch channel] [-l logfile] [-o outputfile] [-ma maintainer]
-[-f format] [-n network] [-d logdir] [-mo moduledir] [-s] [-v] [-h]
+[-f format] [-ne network] [-d logdir] [-mo moduledir] [-s] [-v] [-h]
 
 
 -ch --channel=xxx      : Set channel name
 -ch --channel=xxx      : Set channel name
 -cc --cchannels=xxx    : Only do this channel from cfg file, give multiple
 -cc --cchannels=xxx    : Only do this channel from cfg file, give multiple
@@ -93,7 +93,7 @@ Usage: pisg [-ch channel] [-l logfile] [-o outputfile] [-ma maintainer]
 -t  --tag=xxx          : Replace \%t in --outfile by xxx
 -t  --tag=xxx          : Replace \%t in --outfile by xxx
 -ma --maintainer=xxx   : Channel/statistics maintainer
 -ma --maintainer=xxx   : Channel/statistics maintainer
 -f  --format=xxx       : Logfile format [see FORMATS file]
 -f  --format=xxx       : Logfile format [see FORMATS file]
--n  --network=xxx      : IRC network for the channel
+-ne --network=xxx      : IRC network for the channel
 -d  --dir=xxx          : Analyze all files in this dir. Ignores logfile.
 -d  --dir=xxx          : Analyze all files in this dir. Ignores logfile.
                          Give multiple times to use multiple directories.
                          Give multiple times to use multiple directories.
 -nf --nfiles=xxx       : Analyze the last xxx files if used with --dir
 -nf --nfiles=xxx       : Analyze the last xxx files if used with --dir
@@ -108,7 +108,7 @@ Usage: pisg [-ch channel] [-l logfile] [-o outputfile] [-ma maintainer]
 
 
 Example:
 Example:
 
 
- \$ pisg -n IRCnet -f xchat -o suid.html -ch \\#channel -l logfile.log
+ \$ pisg -ne IRCnet -f xchat -o suid.html -ch \\#channel -l logfile.log
 
 
 All options may also be defined by editing the configuration file and
 All options may also be defined by editing the configuration file and
 calling pisg without arguments.
 calling pisg without arguments.