Make fuzzer examples's argument parser tell that --input is mandatory (#1973)
* add * not ture * fmt
This commit is contained in:
parent
cd12546748
commit
f0ee6e0587
@ -75,7 +75,13 @@ struct Opt {
|
|||||||
#[arg(short = 'a', long, help = "Specify a remote broker", name = "REMOTE")]
|
#[arg(short = 'a', long, help = "Specify a remote broker", name = "REMOTE")]
|
||||||
remote_broker_addr: Option<SocketAddr>,
|
remote_broker_addr: Option<SocketAddr>,
|
||||||
|
|
||||||
#[arg(short, long, help = "Set an initial corpus directory", name = "INPUT")]
|
#[arg(
|
||||||
|
short,
|
||||||
|
long,
|
||||||
|
help = "Set an initial corpus directory",
|
||||||
|
name = "INPUT",
|
||||||
|
required = true
|
||||||
|
)]
|
||||||
input: Vec<PathBuf>,
|
input: Vec<PathBuf>,
|
||||||
|
|
||||||
#[arg(
|
#[arg(
|
||||||
|
@ -73,7 +73,13 @@ struct Opt {
|
|||||||
#[arg(short = 'a', long, help = "Specify a remote broker", name = "REMOTE")]
|
#[arg(short = 'a', long, help = "Specify a remote broker", name = "REMOTE")]
|
||||||
remote_broker_addr: Option<SocketAddr>,
|
remote_broker_addr: Option<SocketAddr>,
|
||||||
|
|
||||||
#[arg(short, long, help = "Set an initial corpus directory", name = "INPUT")]
|
#[arg(
|
||||||
|
short,
|
||||||
|
long,
|
||||||
|
help = "Set an initial corpus directory",
|
||||||
|
name = "INPUT",
|
||||||
|
required = true
|
||||||
|
)]
|
||||||
input: Vec<PathBuf>,
|
input: Vec<PathBuf>,
|
||||||
|
|
||||||
#[arg(
|
#[arg(
|
||||||
|
@ -73,7 +73,13 @@ struct Opt {
|
|||||||
#[arg(short = 'a', long, help = "Specify a remote broker", name = "REMOTE")]
|
#[arg(short = 'a', long, help = "Specify a remote broker", name = "REMOTE")]
|
||||||
remote_broker_addr: Option<SocketAddr>,
|
remote_broker_addr: Option<SocketAddr>,
|
||||||
|
|
||||||
#[arg(short, long, help = "Set an initial corpus directory", name = "INPUT")]
|
#[arg(
|
||||||
|
short,
|
||||||
|
long,
|
||||||
|
help = "Set an initial corpus directory",
|
||||||
|
name = "INPUT",
|
||||||
|
required = true
|
||||||
|
)]
|
||||||
input: Vec<PathBuf>,
|
input: Vec<PathBuf>,
|
||||||
|
|
||||||
#[arg(
|
#[arg(
|
||||||
|
@ -73,7 +73,13 @@ struct Opt {
|
|||||||
#[arg(short = 'a', long, help = "Specify a remote broker", name = "REMOTE")]
|
#[arg(short = 'a', long, help = "Specify a remote broker", name = "REMOTE")]
|
||||||
remote_broker_addr: Option<SocketAddr>,
|
remote_broker_addr: Option<SocketAddr>,
|
||||||
|
|
||||||
#[arg(short, long, help = "Set an the corpus directories", name = "INPUT")]
|
#[arg(
|
||||||
|
short,
|
||||||
|
long,
|
||||||
|
help = "Set an the corpus directories",
|
||||||
|
name = "INPUT",
|
||||||
|
required = true
|
||||||
|
)]
|
||||||
input: Vec<PathBuf>,
|
input: Vec<PathBuf>,
|
||||||
|
|
||||||
#[arg(
|
#[arg(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user