generated from PlexSheep/rs-base
fix: print usage when no arguments are passed #2
This commit is contained in:
parent
3fd52c19dd
commit
5a780f83e8
|
@ -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)
|
||||||
|
|
Reference in New Issue