@@ -693,17 +707,17 @@ async fn main () -> Result<()> {
dl = dl.verbosity(verbosity);
if let Some(out) = matches.get_one::<String>("output-file") {
if let Err(e) = dl.download_to(out).await {
- eprintln!("Download failed: {e}");
+ eprintln!("{}: {e}", "Download failed".red().bold());
}
} else {
match dl.download().await {
Ok(out) => {
if !matches.get_flag("simulate") {
- println!("Downloaded DASH content to {out:?}");
+ println!("{} to {out:?}", "Downloaded DASH content".green());
}
},
Err(e) => {
- eprintln!("Download failed: {e}");
+ eprintln!("{}: {e}", "Download failed".red().bold());
std::process::exit(2);
},
}