cli: add usage description to 'wallet import' command

This commit is contained in:
Anna Shaleva 2021-04-19 17:38:13 +03:00
parent 08e88ce5b2
commit 0ccced2274

View file

@ -154,9 +154,10 @@ func NewCommands() []cli.Command {
}, },
}, },
{ {
Name: "import", Name: "import",
Usage: "import WIF", Usage: "import WIF of a standard signature contract",
Action: importWallet, UsageText: "import --wallet <path> --wif <wif> [--name <account_name>]",
Action: importWallet,
Flags: []cli.Flag{ Flags: []cli.Flag{
walletPathFlag, walletPathFlag,
wifFlag, wifFlag,