Skip to content

Commit

Permalink
Rename tmkms ledger initialize to tmkms ledger init (#787)
Browse files Browse the repository at this point in the history
More consistent with `tmkms init` and avoids locale-specific spellings
  • Loading branch information
tony-iqlusion authored Oct 16, 2023
1 parent b2daa2b commit 6d50ef0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/ledger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ use tendermint_proto as proto;
#[derive(Command, Debug, Runnable, Subcommand)]
pub enum LedgerCommand {
/// initialise the height/round/step
Initialise(InitCommand),
Init(InitCommand),
}

impl LedgerCommand {
pub(super) fn config_path(&self) -> Option<&PathBuf> {
match self {
LedgerCommand::Initialise(init) => init.config.as_ref(),
LedgerCommand::Init(init) => init.config.as_ref(),
}
}
}
Expand Down

0 comments on commit 6d50ef0

Please sign in to comment.