rtiow: pretty print CLI options.

This commit is contained in:
Bill Thiede 2023-02-11 11:16:37 -08:00
parent 9188ce17fa
commit cd149755cb

View File

@ -46,7 +46,7 @@ fn main() -> Result<(), std::io::Error> {
eprintln!("--model should be one of {:?}", Model::VARIANTS); eprintln!("--model should be one of {:?}", Model::VARIANTS);
return Ok(()); return Ok(());
} }
info!("{:?}", opt); info!("{:#?}", opt);
let scene = opt.model.as_ref().unwrap().scene(&opt); let scene = opt.model.as_ref().unwrap().scene(&opt);
fs::create_dir_all(&opt.output)?; fs::create_dir_all(&opt.output)?;
if opt.pprof.is_some() && !cfg!(feature = "profile") { if opt.pprof.is_some() && !cfg!(feature = "profile") {