Просмотр исходного кода

Change -n to -ne in --help output

Christoph Berg 21 лет назад
Родитель
Сommit
d68ff71f23
3 измененных файлов с 15 добавлено и 3 удалено
  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.
      + Note that caching does not work for "one big logfile" setups.
    * 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
    Christoph:

+ 10 - 0
docs/pisg-doc.xml

@@ -3727,21 +3727,31 @@
 
     <para>
     pisg - Perl IRC Statistics Generator
+    </para>
 
+    <para>
     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;
+    </para>
 
+    <para>
     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
     the Free Software Foundation; either version 2 of the License, or
     (at your option) any later version.
+    </para>
 
+    <para>
     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.
+    </para>
 
+    <para>
     You should have received a copy of the GNU General Public License
     along with this program; if not, write to the Free Software
     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;
 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
 -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
 -ma --maintainer=xxx   : Channel/statistics maintainer
 -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.
                          Give multiple times to use multiple directories.
 -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:
 
- \$ 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
 calling pisg without arguments.