sgoudham 3 years ago
parent 23c8e65601
commit b44b42fc1a

@ -111,7 +111,7 @@ fn main() {
set_hook(Box::new(|info| clap_panic!(info))); set_hook(Box::new(|info| clap_panic!(info)));
let matches = app!().get_matches(); let matches = app!().get_matches();
match UwUify::new( if let Err(err) = UwUify::new(
matches.value_of("text"), matches.value_of("text"),
matches.value_of("infile"), matches.value_of("infile"),
matches.value_of("outfile"), matches.value_of("outfile"),
@ -128,9 +128,8 @@ fn main() {
) )
.uwuify() .uwuify()
{ {
Err(err) => clap_panic!(err), clap_panic!(err);
_ => {} }
};
} }
fn is_between_zero_and_one(input: &str) -> Result<(), &'static str> { fn is_between_zero_and_one(input: &str) -> Result<(), &'static str> {

Loading…
Cancel
Save