aboutsummaryrefslogtreecommitdiffstats
path: root/utils/rspamd_stats.pl
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2017-05-10 17:39:32 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2017-05-10 17:39:32 +0300
commit54ffd765fdd23e1f2167af833d2163b2bbe7a212 (patch)
treeddfead34b62b76ead8261d55ba14531e68333578 /utils/rspamd_stats.pl
parent37a04a9e42001f376f69d2920315194f3098a0c4 (diff)
downloadrspamd-54ffd765fdd23e1f2167af833d2163b2bbe7a212.tar.gz
rspamd-54ffd765fdd23e1f2167af833d2163b2bbe7a212.zip
[Minor] rspamd_stats: fix `--alpha-score` option name
and synopsis inconsistency with option description
Diffstat (limited to 'utils/rspamd_stats.pl')
-rw-r--r--utils/rspamd_stats.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/rspamd_stats.pl b/utils/rspamd_stats.pl
index b296a1a16..2a985ab8a 100644
--- a/utils/rspamd_stats.pl
+++ b/utils/rspamd_stats.pl
@@ -35,7 +35,7 @@ GetOptions(
"symbol|s=s@" => \@symbols_search,
"exclude|s=s@" => \@symbols_exclude,
"log|l=s" => \$log_file,
- "alpha|a=f" => \$diff_alpha,
+ "alpha-score|alpha|a=f" => \$diff_alpha,
"correlations|c" => \$correlations,
"search-pattern=s" => \$search_pattern,
"start=s" => \$startTime,
@@ -396,7 +396,7 @@ rspamd_stats [options] [--symbol=SYM1 [--symbol=SYM2...]] [--log file]
--reject-score=score set reject threshold (15 by default)
--junk-score=score set junk score (6.0 by default)
--symbol=sym check specified symbol (perl regexps, '.*' by default)
- --alpha=value set ignore score for symbols (0.1 by default)
+ --alpha-score=score set ignore score for symbols (0.1 by default)
--correlations enable correlations report
--search-pattern do not process input unless the desired pattern is found
--start starting time (oldest) for log parsing