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:
Ryan Winograd
2020-09-03 15:19:53 -05:00
committed by andy.boot
parent b643abe05e
commit 53af0d486d
2 changed files with 1 additions and 7 deletions
-1
View File
@@ -181,7 +181,6 @@ fn main() {
limit_filesystem,
by_filecount,
show_hidden,
depth,
);
let sorted_data = sort(nodes);
let biggest_ones = {