mirror of https://github.com/E-Almqvist/wwmap
parent
8f1c2377b9
commit
3f1aa3d65e
@ -1,11 +1,7 @@ |
|||||||
use clap::Parser; |
use clap::Parser; |
||||||
|
|
||||||
#[derive(Parser, Debug)] |
#[derive(Parser, Debug)] |
||||||
#[clap(author, version, about, long_about = None)] |
|
||||||
struct Args { |
struct Args { |
||||||
#[clap(short, long, value_parser)] |
|
||||||
name: String, |
name: String, |
||||||
|
|
||||||
#[clap(short, long, value_parser, defualt_value_t = 1)] |
|
||||||
count: u8 |
count: u8 |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue