mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 19:21:13 +00:00
Rename inspect-key to inspect (#7160)
This commit is contained in:
committed by
GitHub
parent
8a0ac4c40c
commit
e32d516e4c
@@ -39,7 +39,7 @@ pub enum Subkey {
|
|||||||
Generate(GenerateCmd),
|
Generate(GenerateCmd),
|
||||||
|
|
||||||
/// Gets a public key and a SS58 address from the provided Secret URI
|
/// 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
|
/// Print the peer ID corresponding to the node key in the given file
|
||||||
InspectNodeKey(InspectNodeKeyCmd),
|
InspectNodeKey(InspectNodeKeyCmd),
|
||||||
@@ -69,7 +69,7 @@ pub fn run<R>() -> Result<(), Error>
|
|||||||
match Subkey::from_args() {
|
match Subkey::from_args() {
|
||||||
Subkey::GenerateNodeKey(cmd) => cmd.run()?,
|
Subkey::GenerateNodeKey(cmd) => cmd.run()?,
|
||||||
Subkey::Generate(cmd) => cmd.run()?,
|
Subkey::Generate(cmd) => cmd.run()?,
|
||||||
Subkey::InspectKey(cmd) => cmd.run()?,
|
Subkey::Inspect(cmd) => cmd.run()?,
|
||||||
Subkey::InspectNodeKey(cmd) => cmd.run()?,
|
Subkey::InspectNodeKey(cmd) => cmd.run()?,
|
||||||
Subkey::Insert(cmd) => cmd.run()?,
|
Subkey::Insert(cmd) => cmd.run()?,
|
||||||
Subkey::ModuleId(cmd) => cmd.run::<R>()?,
|
Subkey::ModuleId(cmd) => cmd.run::<R>()?,
|
||||||
|
|||||||
Reference in New Issue
Block a user