diff options
Diffstat (limited to 'src/args.rs')
-rw-r--r-- | src/args.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/args.rs b/src/args.rs index f0c65d0..3e12e7a 100644 --- a/src/args.rs +++ b/src/args.rs @@ -21,6 +21,7 @@ pub fn parse() -> CommandLineOptions { .arg( clap::Arg::new("error-code") .value_name("ERROR_CODE") + .value_parser(clap::value_parser!(u8)) .help("The error code of the previously run command"), ) .get_matches(); |