diff options
author | Philipp Mildenberger <philipp.mildenberger@student.uibk.ac.at> | 2019-06-16 20:48:35 +0200 |
---|---|---|
committer | Abin Simon <abinsimon10@gmail.com> | 2019-07-17 10:27:59 +0000 |
commit | 744efce1b8d85966a8740d6fe5416b9d459b89ca (patch) | |
tree | 2e7b3b7f7dd7787a7d4f0b2fc16fb42fb5ef9f59 /src/app.rs | |
parent | 3facd4484083003e73978a3de688529586c8021f (diff) |
added a total-size flag, that calculates the total size of directories recursively
Diffstat (limited to 'src/app.rs')
-rw-r--r-- | src/app.rs | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -125,6 +125,12 @@ pub fn build() -> App<'static, 'static> { .help("How to display size"), ) .arg( + Arg::with_name("total-size") + .long("total-size") + .multiple(true) + .help("Display the total size of directories"), + ) + .arg( Arg::with_name("date") .long("date") .possible_value("date") |