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

fix command messages, force display order

This commit is contained in:
dark64 2021-11-04 12:42:24 +01:00
parent e8833f5b0f
commit 362385a814
5 changed files with 10 additions and 5 deletions

View file

@ -7,7 +7,8 @@ use std::path::Path;
pub fn subcommand() -> App<'static, 'static> { pub fn subcommand() -> App<'static, 'static> {
SubCommand::with_name("beacon") SubCommand::with_name("beacon")
.about("Apply a random beacon") .about("Applies a random beacon")
.display_order(3)
.arg( .arg(
Arg::with_name("input") Arg::with_name("input")
.short("i") .short("i")

View file

@ -7,7 +7,8 @@ use std::path::Path;
pub fn subcommand() -> App<'static, 'static> { pub fn subcommand() -> App<'static, 'static> {
SubCommand::with_name("contribute") SubCommand::with_name("contribute")
.about("Contribute to a MPC ceremony") .about("Contributes to a ceremony")
.display_order(2)
.arg( .arg(
Arg::with_name("input") Arg::with_name("input")
.short("i") .short("i")

View file

@ -10,7 +10,8 @@ use zokrates_field::Bn128Field;
pub fn subcommand() -> App<'static, 'static> { pub fn subcommand() -> App<'static, 'static> {
SubCommand::with_name("export") SubCommand::with_name("export")
.about("Export keys from MPC parameters") .about("Exports keys from MPC parameters")
.display_order(5)
.arg( .arg(
Arg::with_name("input") Arg::with_name("input")
.short("i") .short("i")

View file

@ -10,7 +10,8 @@ use zokrates_field::Bn128Field;
pub fn subcommand() -> App<'static, 'static> { pub fn subcommand() -> App<'static, 'static> {
SubCommand::with_name("init") SubCommand::with_name("init")
.about("Initialize MPC phase 2 ceremony") .about("Initializes a MPC ceremony")
.display_order(1)
.arg( .arg(
Arg::with_name("input") Arg::with_name("input")
.short("i") .short("i")

View file

@ -11,7 +11,8 @@ use zokrates_field::Bn128Field;
pub fn subcommand() -> App<'static, 'static> { pub fn subcommand() -> App<'static, 'static> {
SubCommand::with_name("verify") SubCommand::with_name("verify")
.about("Verify the correctness of the MPC parameters, given a circuit instance") .about("Verifies correctness of MPC parameters, given a circuit instance")
.display_order(4)
.arg( .arg(
Arg::with_name("input") Arg::with_name("input")
.short("i") .short("i")