Improve documentation for config file.

Signed-off-by: Thomas Hochstein <thh@thh.name>
This commit is contained in:
Thomas Hochstein 2025-05-29 18:35:17 +02:00
parent f78d4c2158
commit c985e29b7e
4 changed files with 9 additions and 3 deletions

View file

@ -549,10 +549,12 @@ Newsgroups not found in the checkgroups file will be dropped (and
logged to STDERR), and newsgroups found there but having no postings
will be added with a count of 0 (and logged to STDERR).
=item B<--hierarchy> I<TLH> (newsgroup hierarchy)
=item B<--hierarchy> I<TLH> (newsgroup hierarchy/hierarchies)
Override I<TLH> from F<newsstats.conf>.
I<TLH> can be a single word or a comma-separated list.
=item B<--rawdb> I<table> (raw data table)
Override I<DBTableRaw> from F<newsstats.conf>.

View file

@ -2,6 +2,7 @@ NewsStats 0.4.0 (unreleased)
* Reformat $Conf{TLH} for GroupStats only.
* Extract TLH check from HostStats to subroutine, fix no-op check.
* Extract getting raw headers from HostStats to subroutine.
* Improve documentation for config file.
NewsStats 0.3.0 (2025-05-18)
* Extract GroupStats (in gatherstats) to subroutine.

View file

@ -62,8 +62,9 @@ INSTALLATION INSTRUCTIONS
b) Optional configuration options
* TLH = de
Limit examination to that top-level hierarchy.
* TLH = de.alt,news.admin
Limit examination to that top-level hierarchy/hierarchies.
Comma-separated list.
3) Database (mysql) setup

View file

@ -16,4 +16,6 @@ DBTableHosts = hosts_de
#DBTableClnts =
### hierarchy configuration
# comma-separated list of TLHs to parse
# newsgroups not starting with one of those patterns are not counted
TLH = de