Neaten code

This commit is contained in:
andy.boot
2022-01-03 20:11:35 +00:00
parent 469e6d0a69
commit 20d89bef91
2 changed files with 19 additions and 22 deletions
+13 -10
View File
@@ -312,14 +312,17 @@ fn main() {
if has_errors {
eprintln!("Did not have permissions for all directories");
}
draw_it(
options.is_present("display_full_paths"),
!options.is_present("reverse"),
no_colors,
options.is_present("no_bars"),
terminal_width,
by_filecount,
tree,
options.is_present("iso"),
);
match tree {
None => {}
Some(root_node) => draw_it(
options.is_present("display_full_paths"),
!options.is_present("reverse"),
no_colors,
options.is_present("no_bars"),
terminal_width,
by_filecount,
root_node,
options.is_present("iso"),
),
}
}