Update examples in POD.
Signed-off-by: Thomas Hochstein <thh@thh.name>
This commit is contained in:
parent
97267f8709
commit
e77967e78c
2 changed files with 30 additions and 22 deletions
|
|
@ -4,6 +4,7 @@ yapfaq 1.0.0 (unreleased)
|
||||||
* Fix file handling (UTF8 mode).
|
* Fix file handling (UTF8 mode).
|
||||||
* Show next posting date if posting is not due.
|
* Show next posting date if posting is not due.
|
||||||
* Add --simulation mode.
|
* Add --simulation mode.
|
||||||
|
* Update examples in POD.
|
||||||
|
|
||||||
yapfaq 0.10 (unreleased)
|
yapfaq 0.10 (unreleased)
|
||||||
* Add: Charset definition.
|
* Add: Charset definition.
|
||||||
|
|
|
||||||
|
|
@ -883,34 +883,41 @@ Post all FAQs that are due for posting:
|
||||||
|
|
||||||
yapfaq.pl
|
yapfaq.pl
|
||||||
|
|
||||||
You may run this command daily from B<cron>.
|
You may run this command daily from B<cron>. If you add "-v", you'll
|
||||||
|
get a report mailed which FAQs have been posted and which were not
|
||||||
|
due.
|
||||||
|
|
||||||
Do a dry run, showing which FAQs would be posted and print them on
|
Pipe all FAQs that are due for posting to I<inews> from INN instead:
|
||||||
STDOUT:
|
|
||||||
|
|
||||||
yapfaq.pl -t -v -o
|
|
||||||
(or yapfaq.pl -tvo)
|
|
||||||
|
|
||||||
The same, with debugging output:
|
|
||||||
|
|
||||||
yapfaq.pl -tdo
|
|
||||||
|
|
||||||
Force a test post of your I<example> text to I<alt.test>, even if
|
|
||||||
the text is not due to be posted:
|
|
||||||
|
|
||||||
yapfaq.pl -t -f -n alt.test
|
|
||||||
|
|
||||||
The same, with debugging output:
|
|
||||||
|
|
||||||
yapfaq.pl -tfdn alt.test
|
|
||||||
|
|
||||||
|
|
||||||
Pipe all FAQs (that are due for posting) to I<inews> from INN:
|
|
||||||
|
|
||||||
yapfaq.pl -o | inews
|
yapfaq.pl -o | inews
|
||||||
|
|
||||||
You may run this command daily from B<cron>, too.
|
You may run this command daily from B<cron>, too.
|
||||||
|
|
||||||
|
Show which FAQs are due for posting and the next due dates for those
|
||||||
|
that are not:
|
||||||
|
|
||||||
|
yapfaq.pl -s
|
||||||
|
|
||||||
|
Do a test run of your I<example> text and and print it on STDOUT
|
||||||
|
(whether ist is due or not):
|
||||||
|
|
||||||
|
yapfaq.pl -t -f -o -p example
|
||||||
|
(or yapfaq.pl -tfop example)
|
||||||
|
|
||||||
|
The same, with debugging output (add "-d"):
|
||||||
|
|
||||||
|
yapfaq.pl -tfdop example
|
||||||
|
|
||||||
|
Force a test post of your I<example> text to I<alt.test>, even if
|
||||||
|
the text is not due to be posted (same as before, just replace "-o"
|
||||||
|
by "-n alt-test"):
|
||||||
|
|
||||||
|
yapfaq.pl -t -f -p example -n alt.test
|
||||||
|
|
||||||
|
The same, with debugging output (add "-d"):
|
||||||
|
|
||||||
|
yapfaq.pl -tfdp example -n alt.test
|
||||||
|
|
||||||
=head1 ENVIRONMENT
|
=head1 ENVIRONMENT
|
||||||
|
|
||||||
=over 2
|
=over 2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue