rtiow: pretty print CLI options.
This commit is contained in:
parent
9188ce17fa
commit
cd149755cb
@ -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") {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user