mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #161] Ignore directories is...unintutive #70
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Yohe-Am on GitHub (Jul 22, 2021).
Original GitHub issue: https://github.com/bootandy/dust/issues/161
Using the following command as the following works properly.
But a little change in the input strings and it goes awry.
I'm not exactly sure what's going on here but it's acting as if I'm passing it multiple paths to check as opposed to ignoring the latter. Look...
It doesn't support multiple ignores either so would be great if this area got a rework.
@bootandy commented on GitHub (Jul 23, 2021):
Yes that's what it is doing.
dust -d 1 etc -X /etc/ssh/Means run dust with the
-d 1flag on the directories calledetc, -X, /etc/sshThis is how the clap argument parser works. It's not something I can change easily and I'm not keen on changing it.
It does work with multiple arguments but you have to include the '-X' each time like this:
target/release/dust -X ssl -X fonts /etcThanks,