X-Git-Url: https://code.th-h.de/?p=usenet%2Fyapfaq.git;a=blobdiff_plain;f=yapfaq.pl;h=57ca99b9c7ff0480030d96a738cb9f43a43ffb6b;hp=816f1954177b1ce7891f057d3748d87628c7c4ec;hb=9817f98a9132dddfa816b9323e85f54aba39581d;hpb=7ef63844b5c14ca2bf5875bb39012faab0402f4f diff --git a/yapfaq.pl b/yapfaq.pl index 816f195..57ca99b 100644 --- a/yapfaq.pl +++ b/yapfaq.pl @@ -166,7 +166,7 @@ sub readconfig{ my ($File, $Config, $Faq) = @_; my ($LastEntry, $Error, $i) = ('','',0); - print "Reading configuration.\n" if($Options{'v'}); + print "Reading configuration from $$File.\n" if($Options{'v'}); open FH, "<$$File" or die "$0: E: Can't open $$File: $!"; while () { @@ -572,7 +572,7 @@ yapfaq - Post Usenet FAQs I<(yet another postfaq)> =head1 SYNOPSIS -B [B<-hvpd>] [B<-t> I | CONSOLE] [B<-f> I] [B<-s> I] [B<-c> I<.rc file>] +B [B<-Vhvpd>] [B<-t> I | CONSOLE] [B<-f> I] [B<-s> I] [B<-c> I<.rc file>] =head1 REQUIREMENTS @@ -944,9 +944,26 @@ if it is due: yapfaq -t de.test -f myfaq +Post all FAQs (that are due for posting) using inews from INN: + + yapfaq -s inews + +Do a dry run using a runtime configuration from .alternaterc, showing +which FAQs would be posted: + + yapfaq -dvc .alternaterc + =head1 ENVIRONMENT -There are no special environment variables used by B. +=over 4 + +=item NNTPSERVER + +The default NNTP server to post to, used by the Net::NNTP module. You +can also specify the server using the runtime configuration file (by +default F<.yapfaqrc>). + +=back =head1 FILES