Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Rename subkey's inspect-key to inspect #7160

Merged
merged 1 commit into from
Sep 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bin/utils/subkey/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub enum Subkey {
Generate(GenerateCmd),

/// Gets a public key and a SS58 address from the provided Secret URI
InspectKey(InspectKeyCmd),
Inspect(InspectKeyCmd),

/// Print the peer ID corresponding to the node key in the given file
InspectNodeKey(InspectNodeKeyCmd),
Expand Down Expand Up @@ -69,7 +69,7 @@ pub fn run<R>() -> Result<(), Error>
match Subkey::from_args() {
Subkey::GenerateNodeKey(cmd) => cmd.run()?,
Subkey::Generate(cmd) => cmd.run()?,
Subkey::InspectKey(cmd) => cmd.run()?,
Subkey::Inspect(cmd) => cmd.run()?,
Subkey::InspectNodeKey(cmd) => cmd.run()?,
Subkey::Insert(cmd) => cmd.run()?,
Subkey::ModuleId(cmd) => cmd.run::<R>()?,
Expand Down