don't print "Error" before help strings

This commit is contained in:
Ponj 2024-09-04 12:05:00 -04:00
parent eb58d0a92f
commit 72f5bdfd3d
Signed by: p6nj
GPG key ID: 6FED68D87C479A59

View file

@ -1,12 +1,10 @@
use anyhow::Result;
use clap::Parser;
mod bng;
mod cli;
fn main() -> Result<()> {
let args = cli::Args::try_parse()?;
fn main() {
let args = cli::BngCli::parse();
#[cfg(debug_assertions)]
println!("{:?}", args);
Ok(())
}