Compare commits

..

2 commits

Author SHA1 Message Date
bd7a000968 Merge branch 'master' of https://git.cscherr.de/PlexSheep/numf
All checks were successful
cargo devel CI / cargo CI (push) Successful in 1m9s
2024-05-12 01:05:49 +02:00
5a780f83e8 fix: print usage when no arguments are passed #2 2024-05-12 01:05:48 +02:00

View file

@ -31,7 +31,7 @@ struct Cli {
#[arg(short, long)] #[arg(short, long)]
/// format to octal /// format to octal
oct: bool, oct: bool,
#[clap(value_parser=maybe_hex::<Num>)] #[clap(value_parser=maybe_hex::<Num>, required=true)]
/// at least one number that should be formatted /// at least one number that should be formatted
/// ///
/// supports either base 10 or base 16 inputs (with 0xaaaa) /// supports either base 10 or base 16 inputs (with 0xaaaa)