Skip to content

Commit

Permalink
Merge pull request nervosnetwork#602 from doitian/fix-rpc-generate-ep…
Browse files Browse the repository at this point in the history
…ochs

fix: fix rpc generate_epochs arg name
  • Loading branch information
doitian authored Jul 18, 2024
2 parents 3eebd38 + 638deba commit 4f362e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/subcommands/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ impl<'a> RpcSubCommand<'a> {
.about("[TEST ONLY] Generate an empty block"),
App::new("generate_epochs")
.arg(
Arg::with_name("num_epochs")
.long("num_epochs")
Arg::with_name("num-epochs")
.long("num-epochs")
.takes_value(true)
.required(true)
.about("The number of epochs to generate.")
Expand Down

0 comments on commit 4f362e0

Please sign in to comment.