From 2d82eb89f85e54610759d88b5c217e3ce01d457c Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Mon, 16 Mar 2020 15:08:38 +0300 Subject: [PATCH] cli: rename `wallet` commands Creating accounts is done frequently so it makes sense to have lesser name for this command. `create` -> `init` `create-account` -> `create` --- cli/wallet/wallet.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/wallet/wallet.go b/cli/wallet/wallet.go index 2e5aab42e..b8d603ae2 100644 --- a/cli/wallet/wallet.go +++ b/cli/wallet/wallet.go @@ -90,7 +90,7 @@ func NewCommands() []cli.Command { }, }, { - Name: "create", + Name: "init", Usage: "create a new wallet", Action: createWallet, Flags: []cli.Flag{ @@ -102,7 +102,7 @@ func NewCommands() []cli.Command { }, }, { - Name: "create-account", + Name: "create", Usage: "add an account to the existing wallet", Action: addAccount, Flags: []cli.Flag{