mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
Change behavior of depth flag
Change the depth flag so that it only changes the depth of displayed subdirectories, not the depth of the directory size calculation (i.e., changing --depth does not change the displayed directory size, rather it only changes how many levels of subdirectories are shown).
This commit is contained in:
@@ -181,7 +181,6 @@ fn main() {
|
||||
limit_filesystem,
|
||||
by_filecount,
|
||||
show_hidden,
|
||||
depth,
|
||||
);
|
||||
let sorted_data = sort(nodes);
|
||||
let biggest_ones = {
|
||||
|
||||
Reference in New Issue
Block a user