aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel <kingdread@gmx.de>2020-05-14 16:08:51 +0200
committerDaniel <kingdread@gmx.de>2020-05-14 16:08:51 +0200
commite2d23d4b76000263e9f939637353bbc4bb9289fd (patch)
tree4aa7c00b87eec09ee1faca957be508efe3dbbb65 /src
parent61889e2d289a6d0d83d55afc9b1c98e6dd112249 (diff)
downloadraidgrep-e2d23d4b76000263e9f939637353bbc4bb9289fd.tar.gz
raidgrep-e2d23d4b76000263e9f939637353bbc4bb9289fd.tar.bz2
raidgrep-e2d23d4b76000263e9f939637353bbc4bb9289fd.zip
add documentation about --sort
Diffstat (limited to 'src')
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 43a6f59..84d1063 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -81,6 +81,9 @@ pub struct Opt {
no_color: bool,
/// Sort the output.
+ ///
+ /// Valid sorting fields are date, boss, cm and outcome. Prefix the field with ~ to sort in
+ /// descending order.
#[structopt(short = "s", long = "sort")]
sorting: Option<Sorting>,