Skip to content

Commit

Permalink
fix: fix rpc generate_epochs arg name
Browse files Browse the repository at this point in the history
The arg name is wrong, rename it to `--num-epochs`.
  • Loading branch information
doitian committed Jul 17, 2024
1 parent c91ed36 commit 638deba
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 638deba

Please sign in to comment.