Add commandline options.
authorThomas Hochstein <thh@inter.net>
Sun, 21 Feb 2010 18:01:46 +0000 (19:01 +0100)
committerThomas Hochstein <thh@inter.net>
Thu, 25 Feb 2010 15:19:02 +0000 (16:19 +0100)
commit4251e5451cacbbd682ec65b4057e4dc5733aca06
tree6b63104dba639fc6c0fd07aee1298c69cbf9d0aa
parentd196f6ed59cac0b8c579af295b58ac73e8df024d
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>
yapfaq.pl
This page took 0.011343 seconds and 4 git commands to generate.