diff --git a/src/exit_code.rs b/src/exit_code.rs index 8fd4ac2..2b7fc4d 100644 --- a/src/exit_code.rs +++ b/src/exit_code.rs @@ -61,7 +61,10 @@ impl ExitCode { /// as a library and calling this method directly. #[allow(dead_code)] pub fn should_fallback(self) -> bool { - matches!(self, ExitCode::Unexpected | ExitCode::Usage) + matches!( + self, + ExitCode::Unexpected | ExitCode::Usage | ExitCode::InputNotFound + ) } }