mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
Feature: Add skip-total flag
Flag to not include the last line containing totals of the output tree
This commit is contained in:
@@ -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"),
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user