Add a vital missing paragraph to the man page, and update the header
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 24 Mar 2010 19:33:45 +0000 (19:33 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 24 Mar 2010 19:33:45 +0000 (19:33 +0000)
comment in the script.

git-svn-id: svn://svn.tartarus.org/sgt/utils@8908 cda61777-01e9-0310-a592-d414129be87e

nntpid/nntpid
nntpid/nntpid.but

index e444c73..d9b47c0 100755 (executable)
@@ -16,8 +16,7 @@
 # a 480 response from the news server; if your news server isn't paranoid
 # then the script will never need to look at NNTPAUTH.
 
-# Copyright 2000 Simon Tatham. All rights reserved.
-# FIXME: put in a licence notice.
+# Copyright 2000,2004 Simon Tatham. All rights reserved.
 
 require 5.002;
 use Socket;
index 3444a99..934068d 100644 (file)
@@ -44,6 +44,10 @@ There is a third mode of operation, enabled by the \cw{-a} option,
 in which \cw{nntpid} retrieves \e{all} available articles in the
 group and writes them to standard output in \cw{mbox} format.
 
+The location of the news server is obtained by reading the
+environment variable \cw{NNTPSERVER}, or failing that the file
+\cw{/etc/nntpserver}.
+
 \U ARGUMENTS
 
 If you specify one argument, \cw{nntpid} assumes it is a Message-ID.