From a94488a6eb7b4be6390cb0c1008767e5fa3d68d0 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 19 Oct 2015 19:07:00 +0100 Subject: [PATCH] Update manual page. --- doc/rspamc.1 | 8 ++++++++ doc/rspamc.1.md | 3 +++ 2 files changed, 11 insertions(+) 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 -- 2.39.5