Feature: Ignore sym links

https://github.com/bootandy/dust/issues/264
This commit is contained in:
andy.boot
2023-01-04 18:51:52 +00:00
parent a91aa62060
commit 0ac818a2f5
9 changed files with 24 additions and 3 deletions
+7 -1
View File
@@ -34,6 +34,12 @@ pub fn build_cli() -> Command<'static> {
.multiple_occurrences(true)
.help("Exclude any file or directory with this name"),
)
.arg(
Arg::new("ignore_links")
.short('l')
.long("ignore-links")
.help("Ignore links"),
)
.arg(
Arg::new("limit_filesystem")
.short('x')
@@ -136,6 +142,6 @@ pub fn build_cli() -> Command<'static> {
Arg::new("only_dir")
.short('D')
.long("only-dir")
.help("Only directories will be displayed."),
.help("Only directories will be displayed."),
)
}