aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/rspamd_stats.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/rspamd_stats.pl b/utils/rspamd_stats.pl
index e81cad401..7d93d2e89 100644
--- a/utils/rspamd_stats.pl
+++ b/utils/rspamd_stats.pl
@@ -28,6 +28,8 @@ GetOptions(
pod2usage(1) if $help;
pod2usage(-exitval => 0, -verbose => 2) if $man;
+@symbols_search = '.*'
+ unless defined @symbols_search;
# Global vars
my $total = 0;
@@ -210,13 +212,13 @@ rspamd_stats - analyze Rspamd rules by parsing log files
=head1 SYNOPSIS
-rspamd_stats [options] --symbol=SYM1 [--symbol=SYM2...] [--log file]
+rspamd_stats [options] [--symbol=SYM1 [--symbol=SYM2...]] [--log file]
Options:
--log=file log file to read (stdin by default)
--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 are supported)
+ --symbol=sym check specified symbol (perl regexps, '.*' by default)
--alpha=value set ignore score for symbols (0.1 by default)
--help brief help message
--man full documentation