Skip to content

Commit

Permalink
CLI improvement.
Browse files Browse the repository at this point in the history
  • Loading branch information
KmolYuan committed Oct 7, 2023
1 parent 253e7be commit 096fbab
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions four-bar-ui/src/cli/syn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,14 @@ pub(super) fn syn(syn: Syn) {
rerun,
clean,
} = syn;
println!(
"seed={:?} gen={} pop={} res={}\n-----",
cfg.seed, cfg.gen, cfg.pop, cfg.res
);
if let Some(seed) = cfg.seed {
println!("seed={seed}");
}
println!("gen={} pop={} res={}", cfg.gen, cfg.pop, cfg.res);
// If codebook is provided, rerun is always enabled
let rerun = rerun || cb.is_some();
println!("rerun={rerun} clean={clean}");
println!("-----");
// Load target files & create project folders
let tasks = files
.into_iter()
Expand Down

0 comments on commit 096fbab

Please sign in to comment.