summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-19 19:07:00 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-19 19:07:00 +0100
commita94488a6eb7b4be6390cb0c1008767e5fa3d68d0 (patch)
tree30df90a40a779a98b1a01ae3ec78a93e281424f8 /doc
parent9afc4f866e1cdf4c08d3e76b1add460f9654ede1 (diff)
downloadrspamd-a94488a6eb7b4be6390cb0c1008767e5fa3d68d0.tar.gz
rspamd-a94488a6eb7b4be6390cb0c1008767e5fa3d68d0.zip
Update manual page.
Diffstat (limited to 'doc')
-rw-r--r--doc/rspamc.18
-rw-r--r--doc/rspamc.1.md3
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/rspamc.1 b/doc/rspamc.1
index f3fda764d..b29bbb20d 100644
--- a/doc/rspamc.1
+++ b/doc/rspamc.1
@@ -191,6 +191,14 @@ This option can be repeated multiple times.
.RS
.RE
.TP
+.B \-\-sort=\f[I]type\f[]
+Sort output according to a specific field.
+For \f[C]counters\f[] command the allowed values for this key are
+\f[C]name\f[], \f[C]weight\f[], \f[C]frequency\f[] and \f[C]time\f[].
+Appending \f[C]:desc\f[] to any of these types inverts sorting order.
+.RS
+.RE
+.TP
.B \-\-commands
List available commands
.RS
diff --git a/doc/rspamc.1.md b/doc/rspamc.1.md
index 99bfea376..8e76d01b2 100644
--- a/doc/rspamc.1.md
+++ b/doc/rspamc.1.md
@@ -114,6 +114,9 @@ requires input.
\--header=*header*
: Add custom HTTP header for a request. You may specify header in format `name=value` or just `name` for an empty header. This option can be repeated multiple times.
+\--sort=*type*
+: Sort output according to a specific field. For `counters` command the allowed values for this key are `name`, `weight`, `frequency` and `time`. Appending `:desc` to any of these types inverts sorting order.
+
\--commands
: List available commands