Change to use the same subcommand syntax as subkey (#8678)

* Change to use the same subcommand syntax as subkey

* Update client/cli/src/commands/inspect_key.rs

* revert to InspectKeyCmd struct
This commit is contained in:
Dan Shields
2021-05-04 03:50:31 -06:00
committed by GitHub
parent 122cb6038a
commit 3cd9cfd57a
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ use structopt::StructOpt;
/// The `inspect` command used to print decoded chain data.
#[derive(Debug, StructOpt)]
pub struct InspectCmd {
pub struct InspectKeyCmd {
#[allow(missing_docs)]
#[structopt(flatten)]
pub command: InspectSubCmd,