1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00

Merge branch 'develop' of github.com:Zokrates/ZoKrates into zokrates-nova

This commit is contained in:
schaeff 2023-02-14 14:52:00 +01:00
commit 64b8693f91
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1 @@
Show help when running `zokrates mpc`

View file

@ -1,4 +1,4 @@
use clap::{App, ArgMatches, SubCommand};
use clap::{App, AppSettings, ArgMatches, SubCommand};
pub mod beacon;
pub mod contribute;
@ -9,6 +9,7 @@ pub mod verify;
pub fn subcommand() -> App<'static, 'static> {
SubCommand::with_name("mpc")
.about("Multi-party computation (MPC) protocol")
.setting(AppSettings::SubcommandRequiredElseHelp)
.subcommands(vec![
init::subcommand().display_order(1),
contribute::subcommand().display_order(2),