mirror of
https://github.com/RGBCube/dix
synced 2025-07-27 19:57:44 +00:00
main: move prinln! statements to before printing the changes
This commit is contained in:
parent
fdc5118ee2
commit
eb7a29fe52
1 changed files with 2 additions and 3 deletions
|
@ -93,9 +93,6 @@ fn main() {
|
||||||
.format_timestamp(Some(env_logger::fmt::TimestampPrecision::Seconds))
|
.format_timestamp(Some(env_logger::fmt::TimestampPrecision::Seconds))
|
||||||
.init();
|
.init();
|
||||||
|
|
||||||
println!("<<< {}", args.path.to_string_lossy());
|
|
||||||
println!(">>> {}", args.path2.to_string_lossy());
|
|
||||||
|
|
||||||
// handles to the threads collecting closure size information
|
// handles to the threads collecting closure size information
|
||||||
// We do this as early as possible because nix is slow.
|
// We do this as early as possible because nix is slow.
|
||||||
let closure_size_handles = if args.closure_size {
|
let closure_size_handles = if args.closure_size {
|
||||||
|
@ -220,6 +217,8 @@ fn main() {
|
||||||
.max()
|
.max()
|
||||||
.unwrap_or_default();
|
.unwrap_or_default();
|
||||||
|
|
||||||
|
println!("<<< {}", args.path.to_string_lossy());
|
||||||
|
println!(">>> {}", args.path2.to_string_lossy());
|
||||||
print::print_added(&added, &post, col_width);
|
print::print_added(&added, &post, col_width);
|
||||||
print::print_removed(&removed, &pre, col_width);
|
print::print_removed(&removed, &pre, col_width);
|
||||||
print::print_changes(&changed, &pre, &post, col_width);
|
print::print_changes(&changed, &pre, &post, col_width);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue