]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix and document --nrelated option
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 13 Mar 2018 16:34:37 +0000 (16:34 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 13 Mar 2018 16:34:37 +0000 (16:34 +0000)
utils/rspamd_stats.pl

index ae7ce2115cee3805df127846c7590b733625806c..dcbce9cb2117beef828761528a295188a379d879 100755 (executable)
@@ -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