From e2d23d4b76000263e9f939637353bbc4bb9289fd Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 14 May 2020 16:08:51 +0200 Subject: add documentation about --sort --- raidgrep.1.asciidoc | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'raidgrep.1.asciidoc') diff --git a/raidgrep.1.asciidoc b/raidgrep.1.asciidoc index 30e0b2f..584713e 100644 --- a/raidgrep.1.asciidoc +++ b/raidgrep.1.asciidoc @@ -48,6 +48,18 @@ command line: *-d* 'path', *--dir* 'path':: Path to the folder with logs [default: .] +*-s* 'sorting', *--sort* 'sorting':: + Sort the output according to the given fields. Valid fields are 'boss', + 'date', 'cm' and 'outcome'. Fields can be comma-separated, then later + fields are used to break ties. Fields can be prefixed by ~ to indicate + sorting in the opposite direction. + + + + Note that using this option will cause raidgrep to buffer all results until + the search has finished, which means that no output will happen until every + file has been searched. It can also lead to a higher memory consumption, + based on how many logs are matched. Therefore, it is advised that you do + not use this option unless needed. + + == PREDICATES The following predicates can be used after the options. Note that they should -- cgit v1.2.3