diff --git a/src/bin/hexyl.rs b/src/bin/hexyl.rs index 5fe9797..f666bd8 100644 --- a/src/bin/hexyl.rs +++ b/src/bin/hexyl.rs @@ -250,13 +250,13 @@ fn main() { clap::ErrorKind::HelpDisplayed => { eprint!("{}", clap_err); // Clap errors already have newlines std::process::exit(0) - }, + } clap::ErrorKind::VersionDisplayed => { // Version output in clap 2.33.1 (dep as of now) doesn't have a newline // and the fix is not included even in the latest stable release println!(""); std::process::exit(0) - }, + } _ => (), } } else {