mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
Print correct message when paths are not found
This commit is contained in:
committed by
andy.boot
parent
e0347b0b43
commit
a48c7782ac
+2
-2
@@ -174,7 +174,7 @@ fn main() {
|
||||
let show_hidden = !options.is_present("ignore_hidden");
|
||||
|
||||
let simplified_dirs = simplify_dir_names(target_dirs);
|
||||
let (permissions, nodes) = get_dir_tree(
|
||||
let (errors, nodes) = get_dir_tree(
|
||||
&simplified_dirs,
|
||||
&ignore_directories,
|
||||
use_apparent_size,
|
||||
@@ -192,7 +192,7 @@ fn main() {
|
||||
let tree = build_tree(biggest_ones, depth);
|
||||
|
||||
draw_it(
|
||||
permissions,
|
||||
errors,
|
||||
options.is_present("display_full_paths"),
|
||||
!options.is_present("reverse"),
|
||||
no_colors,
|
||||
|
||||
Reference in New Issue
Block a user