aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/listing.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/listing.rs b/src/listing.rs
index 6d956ac..f82764e 100644
--- a/src/listing.rs
+++ b/src/listing.rs
@@ -10,6 +10,15 @@ use std::path::Path;
arg_enum! {
#[derive(Clone, Copy, Debug)]
/// Available sorting methods
+ ///
+ /// Natural: natural sorting method
+ /// 1 -> 2 -> 3 -> 11
+ ///
+ /// Alpha: pure alphabetical sorting method
+ /// 1 -> 11 -> 2 -> 3
+ ///
+ /// DirsFirst: directories are listed first, alphabetical sorting is also applied
+ /// 1/ -> 2/ -> 3/ -> 11 -> 12
pub enum SortingMethods {
Natural,
Alpha,