diff options
-rw-r--r-- | doc/rspamc.1 | 8 | ||||
-rw-r--r-- | doc/rspamc.1.md | 3 |
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 |