summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 7840fae..3eb7e95 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,6 +1,6 @@
-use std::path::PathBuf;
-
use clap::Parser;
+use colored::Colorize;
+use std::path::PathBuf;
use zap_rs::{AppImage, Cli, Command, PackageManager, Result, Source, SourceMetadata};
@@ -35,7 +35,7 @@ async fn run() -> Result<()> {
#[tokio::main]
async fn main() {
if let Err(e) = run().await {
- eprintln!("Error: {e}");
+ eprintln!("{} {}", "Error:".red().bold(), e);
std::process::exit(1);
}
}