Skip to content

Commit

Permalink
fix: cli subcommand setting
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangsoledad committed Dec 21, 2018
1 parent 8c0dc2c commit bdf323f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ fn arg_private_key() -> Arg<'static, 'static> {
fn cli() -> App<'static, 'static> {
SubCommand::with_name("cli")
.about("Running ckb cli")
.setting(AppSettings::ArgRequiredElseHelp)
.setting(AppSettings::SubcommandRequiredElseHelp)
.subcommand(
SubCommand::with_name("sign")
.about("Sign transaction using sha3-secp256k1 defined in system cell")
Expand Down

0 comments on commit bdf323f

Please sign in to comment.