use anyhow::Error;
use clap::Parser;
use mimalloc::MiMalloc;
use std::io;
use minifind::args::Args;
#[global_allocator]
static GLOBAL: MiMalloc = MiMalloc;
fn main() -> Result<(), Error> {
let args = Args::parse();
minifind::interrupt::reset_sigpipe();
minifind::run(&args, || io::stdout().lock())
}