Clap: use help instead of about (#417)
This commit is contained in:
parent
a96e01fda5
commit
4aa6550bf2
@ -64,14 +64,14 @@ pub fn libafl_main() {
|
||||
.about("LibAFL-based fuzzer for Fuzzbench")
|
||||
.arg(
|
||||
Arg::new("out")
|
||||
.about("The directory to place finds in ('corpus')")
|
||||
.help("The directory to place finds in ('corpus')")
|
||||
.required(true)
|
||||
.index(1)
|
||||
.takes_value(true),
|
||||
)
|
||||
.arg(
|
||||
Arg::new("in")
|
||||
.about("The directory to read initial inputs from ('seeds')")
|
||||
.help("The directory to read initial inputs from ('seeds')")
|
||||
.required(true)
|
||||
.index(2)
|
||||
.takes_value(true),
|
||||
@ -80,21 +80,21 @@ pub fn libafl_main() {
|
||||
Arg::new("tokens")
|
||||
.short('x')
|
||||
.long("tokens")
|
||||
.about("A file to read tokens from, to be used during fuzzing")
|
||||
.help("A file to read tokens from, to be used during fuzzing")
|
||||
.takes_value(true),
|
||||
)
|
||||
.arg(
|
||||
Arg::new("logfile")
|
||||
.short('l')
|
||||
.long("logfile")
|
||||
.about("Duplicates all output to this file")
|
||||
.help("Duplicates all output to this file")
|
||||
.default_value("libafl.log"),
|
||||
)
|
||||
.arg(
|
||||
Arg::new("timeout")
|
||||
.short('t')
|
||||
.long("timeout")
|
||||
.about("Timeout for each individual execution, in milliseconds")
|
||||
.help("Timeout for each individual execution, in milliseconds")
|
||||
.default_value("1200"),
|
||||
)
|
||||
.try_get_matches()
|
||||
|
@ -63,14 +63,14 @@ pub fn libafl_main() {
|
||||
.about("LibAFL-based fuzzer for Fuzzbench")
|
||||
.arg(
|
||||
Arg::new("out")
|
||||
.about("The directory to place finds in ('corpus')")
|
||||
.help("The directory to place finds in ('corpus')")
|
||||
.required(true)
|
||||
.index(1)
|
||||
.takes_value(true),
|
||||
)
|
||||
.arg(
|
||||
Arg::new("in")
|
||||
.about("The directory to read initial inputs from ('seeds')")
|
||||
.help("The directory to read initial inputs from ('seeds')")
|
||||
.required(true)
|
||||
.index(2)
|
||||
.takes_value(true),
|
||||
@ -79,21 +79,21 @@ pub fn libafl_main() {
|
||||
Arg::new("tokens")
|
||||
.short('x')
|
||||
.long("tokens")
|
||||
.about("A file to read tokens from, to be used during fuzzing")
|
||||
.help("A file to read tokens from, to be used during fuzzing")
|
||||
.takes_value(true),
|
||||
)
|
||||
.arg(
|
||||
Arg::new("logfile")
|
||||
.short('l')
|
||||
.long("logfile")
|
||||
.about("Duplicates all output to this file")
|
||||
.help("Duplicates all output to this file")
|
||||
.default_value("libafl.log"),
|
||||
)
|
||||
.arg(
|
||||
Arg::new("timeout")
|
||||
.short('t')
|
||||
.long("timeout")
|
||||
.about("Timeout for each individual execution, in milliseconds")
|
||||
.help("Timeout for each individual execution, in milliseconds")
|
||||
.default_value("1200"),
|
||||
)
|
||||
.try_get_matches()
|
||||
|
@ -67,14 +67,14 @@ pub fn main() {
|
||||
.about("LibAFL-based fuzzer with QEMU for Fuzzbench")
|
||||
.arg(
|
||||
Arg::new("out")
|
||||
.about("The directory to place finds in ('corpus')")
|
||||
.help("The directory to place finds in ('corpus')")
|
||||
.long("libafl-out")
|
||||
.required(true)
|
||||
.takes_value(true),
|
||||
)
|
||||
.arg(
|
||||
Arg::new("in")
|
||||
.about("The directory to read initial inputs from ('seeds')")
|
||||
.help("The directory to read initial inputs from ('seeds')")
|
||||
.long("libafl-in")
|
||||
.required(true)
|
||||
.takes_value(true),
|
||||
@ -82,19 +82,19 @@ pub fn main() {
|
||||
.arg(
|
||||
Arg::new("tokens")
|
||||
.long("libafl-tokens")
|
||||
.about("A file to read tokens from, to be used during fuzzing")
|
||||
.help("A file to read tokens from, to be used during fuzzing")
|
||||
.takes_value(true),
|
||||
)
|
||||
.arg(
|
||||
Arg::new("logfile")
|
||||
.long("libafl-logfile")
|
||||
.about("Duplicates all output to this file")
|
||||
.help("Duplicates all output to this file")
|
||||
.default_value("libafl.log"),
|
||||
)
|
||||
.arg(
|
||||
Arg::new("timeout")
|
||||
.long("libafl-timeout")
|
||||
.about("Timeout for each individual execution, in milliseconds")
|
||||
.help("Timeout for each individual execution, in milliseconds")
|
||||
.default_value("1000"),
|
||||
)
|
||||
.try_get_matches_from(filter_qemu_args())
|
||||
|
Loading…
x
Reference in New Issue
Block a user