diff --git a/src/main.rs b/src/main.rs index 1e4f86a..50fd6e5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -31,7 +31,7 @@ struct Cli { #[arg(short, long)] /// format to octal oct: bool, - #[clap(value_parser=maybe_hex::)] + #[clap(value_parser=maybe_hex::, required=true)] /// at least one number that should be formatted /// /// supports either base 10 or base 16 inputs (with 0xaaaa)