summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/cli/main.rs b/cli/main.rs
index f35a4c587..752e2e5a5 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -733,8 +733,7 @@ pub fn main() {
for f in unrecognized_v8_flags {
eprintln!("error: V8 did not recognize flag '{}'", f);
}
- eprintln!();
- eprintln!("For a list of V8 flags, use '--v8-flags=--help'");
+ eprintln!("\nFor a list of V8 flags, use '--v8-flags=--help'");
std::process::exit(1);
}
if v8_flags_includes_help {
@@ -854,8 +853,7 @@ pub fn main() {
let result = tokio_util::run_basic(fut);
if let Err(err) = result {
- let msg = format!("{}: {}", colors::red_bold("error"), err.to_string(),);
- eprintln!("{}", msg);
+ eprintln!("{}: {}", colors::red_bold("error"), err.to_string());
std::process::exit(1);
}
}