Short names for CLI subcommands updated
This commit is contained in:
parent
c4b1b02c80
commit
c9ff8157dc
1 changed files with 11 additions and 13 deletions
24
src/main.rs
24
src/main.rs
|
@ -86,7 +86,7 @@ fn main() {
|
|||
.default_value(FLATTENED_CODE_DEFAULT_PATH)
|
||||
)
|
||||
.arg(Arg::with_name("proving-key-path")
|
||||
.short("pk")
|
||||
.short("p")
|
||||
.long("proving-key-path")
|
||||
.help("Path of the generated proving key file.")
|
||||
.value_name("FILE")
|
||||
|
@ -95,7 +95,7 @@ fn main() {
|
|||
.default_value(PROVING_KEY_DEFAULT_PATH)
|
||||
)
|
||||
.arg(Arg::with_name("verification-key-path")
|
||||
.short("vk")
|
||||
.short("v")
|
||||
.long("verification-key-path")
|
||||
.help("Path of the generated verification key file.")
|
||||
.value_name("FILE")
|
||||
|
@ -103,9 +103,9 @@ fn main() {
|
|||
.required(false)
|
||||
.default_value(VERIFICATION_KEY_DEFAULT_PATH)
|
||||
)
|
||||
.arg(Arg::with_name("variables-inf")
|
||||
.short("vi")
|
||||
.long("variables-information")
|
||||
.arg(Arg::with_name("information-variables")
|
||||
.short("i")
|
||||
.long("information-variables")
|
||||
.help("Path of variables information file.")
|
||||
.value_name("FILE")
|
||||
.takes_value(true)
|
||||
|
@ -171,19 +171,17 @@ fn main() {
|
|||
.takes_value(true)
|
||||
.required(false)
|
||||
.default_value(WITNESS_DEFAULT_PATH)
|
||||
)
|
||||
.arg(Arg::with_name("provingkey")
|
||||
.short("pk")
|
||||
).arg(Arg::with_name("provingkey")
|
||||
.short("p")
|
||||
.long("provingkey")
|
||||
.help("Path of proving key file.")
|
||||
.value_name("FILE")
|
||||
.takes_value(true)
|
||||
.required(false)
|
||||
.default_value(PROVING_KEY_DEFAULT_PATH)
|
||||
)
|
||||
.arg(Arg::with_name("variables-inf")
|
||||
.short("vi")
|
||||
.long("variables-information")
|
||||
).arg(Arg::with_name("information-variables")
|
||||
.short("i")
|
||||
.long("information-variables")
|
||||
.help("Path of variables information file.")
|
||||
.value_name("FILE")
|
||||
.takes_value(true)
|
||||
|
@ -220,7 +218,7 @@ fn main() {
|
|||
// .takes_value(true)
|
||||
// .required(true)
|
||||
// ).arg(Arg::with_name("account")
|
||||
// .short("acc")
|
||||
// .short("a)
|
||||
// .long("account")
|
||||
// .help("Address of the account triggering the Ethereum Transaction.")
|
||||
// .takes_value(true)
|
||||
|
|
Loading…
Reference in a new issue