mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #220] [WINDOWS]: The argument '--number-of-lines <number_of_lines>' cannot be used with '--depth <depth>' #101
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 @yahiaboudah on GitHub (May 23, 2022).
Original GitHub issue: https://github.com/bootandy/dust/issues/220
I want my depth to be 1 so I do: dust -d 1 -r -n Get-File-Count
Get-File-Count is a special powershell function I wrote to get the number of files and dirs in the current directory.
So yeah, it's not working
@bootandy commented on GitHub (May 24, 2022):
You can't use both -n and -d. Use one or the other not both.
@yahiaboudah commented on GitHub (May 24, 2022):
Can I specify how many directories and files are displayed, say when depth = 5? because it only shows a limited number of dirs, instead of the full length of all available directories and files.
@bootandy commented on GitHub (May 27, 2022):
Not currently, I was a bit unsure how it would work if a user provided both depth=5 and number=10. Thinking about it now I don't see why it isn't possible. I'll reopen this issue and take another look when I get time.
@bootandy commented on GitHub (Jul 1, 2022):
also by default using '-d' will show all the directories/file so using '-d 1' means you won't need a -n Get-File-Count