fn main() {
    let argv: Vec<String> = std::env::args().collect();
    if let Err(e) = rpki::cli::run(&argv) {
        // `parse_args` uses `Err(usage())` for `--help`, so treat it as success.
        if argv.iter().any(|a| a == "--help" || a == "-h") {
            println!("{e}");
            return;
        }
        eprintln!("{e}");
        std::process::exit(2);
    }
}
