don't print "Error" before help strings
This commit is contained in:
parent
eb58d0a92f
commit
72f5bdfd3d
1 changed files with 2 additions and 4 deletions
|
@ -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(())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue