From dcad773071b6d13e7134a170be9ef71a06359cd9 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 13 Mar 2018 16:34:37 +0000 Subject: [PATCH] [Minor] Fix and document --nrelated option --- utils/rspamd_stats.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5