Browse Source

[Minor] Fix and document --nrelated option

tags/1.7.1
Vsevolod Stakhov 6 years ago
parent
commit
dcad773071
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      utils/rspamd_stats.pl

+ 2
- 1
utils/rspamd_stats.pl View File

@@ -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

Loading…
Cancel
Save