Skip to content

Commit

Permalink
Exit after build info in 1d / 2d examples (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
SallySoul authored Feb 8, 2025
1 parent 1b0a9bc commit 49c7f0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/image_1d_example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ impl Args {

if args.build_info {
build_info::print_report(name);
std::process::exit(0);
}

if let Some(output_dir) = &args.output_dir {
Expand Down
1 change: 1 addition & 0 deletions src/image_2d_example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ impl Args {

if args.build_info {
build_info::print_report(name);
std::process::exit(0);
}

if let Some(output_dir) = &args.output_dir {
Expand Down

0 comments on commit 49c7f0a

Please sign in to comment.