1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00

Short names for CLI subcommands updated

This commit is contained in:
Jacob Eberhardt 2017-10-26 20:36:54 +02:00
parent c4b1b02c80
commit c9ff8157dc

View file

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