Skip to content

Commit

Permalink
CLI: Print destination path on completion
Browse files Browse the repository at this point in the history
  • Loading branch information
valadaptive committed Oct 31, 2024
1 parent b2fb5c7 commit 905c139
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions crates/gui/src/bin/ntsc-rs-cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ pub fn main() -> Result<()> {
chroma_subsampling,
}),
},
output_path,
output_path: output_path.clone(),
interlacing: RenderInterlaceMode::from_use_field(settings.use_field, interlace),
effect_settings: settings.into(),
},
Expand All @@ -386,7 +386,11 @@ pub fn main() -> Result<()> {
));
}
RenderJobState::Complete { end_time } => {
writeln!(term, "Finished rendering in {end_time:.0} seconds")?;
writeln!(
term,
"Finished rendering in {end_time:.0} second(s) to {}",
output_path.as_os_str().to_string_lossy()
)?;
term.flush()?;
}
RenderJobState::Error(err) => {
Expand Down

0 comments on commit 905c139

Please sign in to comment.