Add colored output to most tools; Make mkoverlay more tolerant for missing overlay files; Make psxcdgen_ex emit a warning when no license file is specified

This commit is contained in:
2023-04-22 15:44:21 +02:00
parent 7ef21179b3
commit 5a137ce644
11 changed files with 52 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "jaby_engine_fconv"
version = "0.1.2"
version = "0.1.3"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@@ -1,7 +1,7 @@
use jaby_engine_fconv::images::{*};
use clap::{Parser, Subcommand};
use jaby_engine_fconv::images::*;
use std::path::PathBuf;
use tool_helper::Error;
use tool_helper::{Error, exit_with_error};
#[derive(Parser)]
#[clap(about = "Converts files to various JabyEngine related file formats", long_about = None)]
@@ -69,7 +69,6 @@ fn run_main() -> Result<(), Error> {
fn main() {
if let Err(error) = run_main() {
eprintln!("{}", error.text);
std::process::exit(error.exit_code);
exit_with_error(error);
}
}