FEATURE: support only directories will be displayed. Flag -D

This commit is contained in:
DIRE
2022-09-30 11:32:46 +09:00
committed by andy.boot
parent e858f9e976
commit 2ca7177446
10 changed files with 34 additions and 7 deletions
+6
View File
@@ -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."),
)
}