add default value

This commit is contained in:
notohh 2024-06-01 14:39:26 -04:00
parent efd389116e
commit dd54e04c18
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -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,