mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
FEATURE: support only directories will be displayed. Flag -D
This commit is contained in:
@@ -132,4 +132,10 @@ pub fn build_cli() -> Command<'static> {
|
||||
.help("print sizes in powers of 1000 (e.g., 1.1G)")
|
||||
)
|
||||
.arg(Arg::new("inputs").multiple_occurrences(true))
|
||||
.arg(
|
||||
Arg::new("only_dir")
|
||||
.short('D')
|
||||
.long("only-dir")
|
||||
.help("Only directories will be displayed."),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user