diff options
author | Sebastian Thiel <sthiel@thoughtworks.com> | 2019-06-01 14:27:52 +0530 |
---|---|---|
committer | Sebastian Thiel <sthiel@thoughtworks.com> | 2019-06-01 14:27:52 +0530 |
commit | f8c3ba29134af08ea7b70b4fe3951307c6be6e3a (patch) | |
tree | c34182c60235def2f99ca2b92bc42e7da0d046ba /src/options.rs | |
parent | e7da7843ad7894a3560b4d70076a74798404da94 (diff) |
Sort by size in bytes by default; can be turned off for immediate feedback
Diffstat (limited to 'src/options.rs')
-rw-r--r-- | src/options.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/options.rs b/src/options.rs index 6136109..986c256 100644 --- a/src/options.rs +++ b/src/options.rs @@ -49,6 +49,10 @@ pub enum Command { /// Aggregrate the consumed space of one or more directories or files #[structopt(name = "aggregate", alias = "a")] Aggregate { + /// If set, paths will be printed in their order of occurrence on the command-line. + /// Otherwise they are sorted by their size in bytes, ascending. + #[structopt(long = "no-sort")] + no_sort: bool, /// If set, no total column will be computed for multiple inputs #[structopt(long = "no-total")] no_total: bool, |