mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #11] Add flag to limit depth #4
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 @bootandy on GitHub (Apr 19, 2018).
Original GitHub issue: https://github.com/bootandy/dust/issues/11
Originally assigned to: @bootandy on GitHub.
From Reddit:
Once thing I notice however is that you elected for limiting the number of lines rather then the depth of the tree. It would be a lot more useful to specify the depth of the tree like the way tree -L 3 works.
Not yet sure how this would work. Would "dust -d 2" show:
I imagine the (1) is correct
@bootandy commented on GitHub (Apr 27, 2018):
https://github.com/bootandy/dust/commit/e6c777fb8bfe079b6a517abd4f8a80ff6611e251
@ryuheechul commented on GitHub (Aug 14, 2021):
A small report
let me know if you want me to file another issue on this
dust -d 2 ~works but notdust ~ -d 2(silently fail?). Mydustversion is0.6.2and system is macOS M1.On the contrast,
duworks either way. Thus I think people (at least someone like me) would expect this would work as well?@bootandy commented on GitHub (Aug 17, 2021):
That will be an issue with the CLAP command arg parsing library, it might be possible to make it understand this or it might not. I'll look in to the clap usage instructions.