]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] rspamd_stats: fix `--alpha-score` option name 1634/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Wed, 10 May 2017 14:39:32 +0000 (17:39 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Wed, 10 May 2017 14:39:32 +0000 (17:39 +0300)
and synopsis inconsistency with option description

utils/rspamd_stats.pl

index b296a1a166990c68a0843b4f6b61cb592061f065..2a985ab8a12c77b0405b62c3362be1f742d36f1f 100644 (file)
@@ -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