use std::{env, process};
use brcap::Config;
fn main() {
let config = Config::new(env::args()).unwrap_or_else(|err| {
println!("Problem parsing arguments: {}", err);
process::exit(1)
});
if let Err(e) = brcap::run(config) {
println!("Application error: {}", e);
process::exit(1);
}
}