aboutsummaryrefslogtreecommitdiffstats
path: root/utils/rspamd_stats.pl
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-13 16:34:37 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-13 16:34:37 +0000
commitdcad773071b6d13e7134a170be9ef71a06359cd9 (patch)
tree8952bf1e53de0893c7a6eabd9a4a33a7505aa70c /utils/rspamd_stats.pl
parentdad6f34f2855ac223f50d5b1db4899088b953a34 (diff)
downloadrspamd-dcad773071b6d13e7134a170be9ef71a06359cd9.tar.gz
rspamd-dcad773071b6d13e7134a170be9ef71a06359cd9.zip
[Minor] Fix and document --nrelated option
Diffstat (limited to 'utils/rspamd_stats.pl')
-rwxr-xr-xutils/rspamd_stats.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/rspamd_stats.pl b/utils/rspamd_stats.pl
index ae7ce2115..dcbce9cb2 100755
--- a/utils/rspamd_stats.pl
+++ b/utils/rspamd_stats.pl
@@ -43,7 +43,7 @@ GetOptions(
"log|l=s" => \$log_file,
"alpha-score|alpha|a=f" => \$diff_alpha,
"correlations|c" => \$correlations,
- "nrelated" => \$nrelated,
+ "nrelated=i" => \$nrelated,
"search-pattern=s" => \$search_pattern,
"start=s" => \$startTime,
"end=s" => \$endTime,
@@ -739,6 +739,7 @@ rspamd_stats [options] [--symbol=SYM1 [--symbol=SYM2...]] [--log file]
--symbol=sym check specified symbol (perl regexps, '.*' by default)
--alpha-score=score set ignore score for symbols (0.1 by default)
--correlations enable correlations report
+ --nrelated=integer show that amount of related symbols (10 by default)
--search-pattern do not process input unless the desired pattern is found
--start starting time (oldest) for log parsing
--end ending time (newest) for log parsing