fix(*): modify description of command "key"

This commit is contained in:
zhourong 2020-12-11 10:56:15 +08:00
parent a7dc81d61c
commit a1d7c31f29
1 changed files with 6 additions and 6 deletions

View File

@ -37,15 +37,15 @@ func keyCMD() cli.Command {
},
{
Name: "convert",
Usage: "Convert new key file from private key",
Usage: "Convert the Secp256k1 private key to BitXHub key format",
Flags: []cli.Flag{
cli.BoolFlag{
Name: "save,s",
Usage: "save key into repo",
Usage: "Save BitXHub key into repo",
},
cli.StringFlag{
Name: "priv",
Usage: "private key path",
Usage: "Specify private key path",
Required: true,
},
},
@ -53,17 +53,17 @@ func keyCMD() cli.Command {
},
{
Name: "show",
Usage: "Show key from cert",
Usage: "Show BitXHub key from repo",
Action: showKey,
},
{
Name: "address",
Usage: "Show address from private key",
Usage: "Show address from Secp256k1 private key",
Action: getAddress,
Flags: []cli.Flag{
cli.StringFlag{
Name: "path",
Usage: "Specific private key path",
Usage: "Specify private key path",
Required: true,
},
},