Feature: Add skip-total flag

Flag to not include the last line containing totals of the output tree
This commit is contained in:
andy.boot
2022-08-18 12:21:24 +01:00
parent 4eb3f29565
commit 812e1e3c53
2 changed files with 30 additions and 3 deletions
+6
View File
@@ -163,6 +163,11 @@ fn main() {
.long("no-percent-bars")
.help("No percent bars or percentages will be displayed"),
)
.arg(
Arg::new("skip_total")
.long("skip-total")
.help("No total row will be displayed"),
)
.arg(
Arg::new("by_filecount")
.short('f')
@@ -330,6 +335,7 @@ fn main() {
by_filecount,
root_node,
options.is_present("iso"),
options.is_present("skip_total"),
),
}
}