add default value
This commit is contained in:
parent
efd389116e
commit
dd54e04c18
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ use clap::Parser;
|
|||
|
||||
#[derive(Parser, Debug)]
|
||||
pub struct Args {
|
||||
#[arg(short)]
|
||||
#[arg(short, default_value_t = 16)]
|
||||
pub length: usize,
|
||||
#[arg(short)]
|
||||
pub write_to_file: bool,
|
||||
|
|
Loading…
Reference in a new issue