Find a file
Thomas Hochstein 4251e5451c Add commandline options.
Using Getopt::Std.

Implement option '-h': display version and usage information.

Implement option '-v': Print progress information to STDOUT
on reading the configuration, skipping a FAQ, preparing it
for posting, posting it and writing status information to disk.

Implement option '-f': limit operation to the given project
name. Skip parsing all other information from yapfaq.cfg,
skip posting all other FAQs.

Add option '-d': 'dry run', simulation mode: nothing is posted.

Add option '-p': 'post anyway', files are unconditionally
posted irrespective of Posting-Frequency settings.

Add option '-t <newsgroups>': 'test mode', post to
(an)other newsgroup(s) given on the command line or to
STDOUT ('console').

Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-02-25 16:19:02 +01:00
.gitignore Add .gitignore. 2010-02-24 22:17:54 +01:00
ChangeLog Initial commit. 2010-02-20 17:03:56 +01:00
test.txt Initial commit. 2010-02-20 17:03:56 +01:00
yapfaq.cfg Cleanup on yapfaq.cfg 2010-02-25 16:16:49 +01:00
yapfaq.pl Add commandline options. 2010-02-25 16:19:02 +01:00