From 65cb6dd0ad83d54d995a7293c4b27d352eaf60d1 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Thu, 25 Jun 2020 10:34:02 +0300 Subject: [PATCH] cli: change name for wallet path flag `-p` is used for `--privnet`, `-w` is for wallet. Fix CLI error: balance flag redefined: p panic: balance flag redefined: p --- cli/wallet/multisig.go | 2 +- cli/wallet/nep5.go | 10 +++++----- cli/wallet/wallet.go | 10 +++++----- docs/cli.md | 6 +++--- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/cli/wallet/multisig.go b/cli/wallet/multisig.go index 9f8176dd7..4f1411503 100644 --- a/cli/wallet/multisig.go +++ b/cli/wallet/multisig.go @@ -27,7 +27,7 @@ func newMultisigCommands() []cli.Command { { Name: "sign", Usage: "sign a transaction", - UsageText: "multisig sign --path --addr --in --out ", + UsageText: "multisig sign --wallet --addr --in --out ", Action: signMultisig, Flags: signFlags, }, diff --git a/cli/wallet/nep5.go b/cli/wallet/nep5.go index 99e267620..69175ba69 100644 --- a/cli/wallet/nep5.go +++ b/cli/wallet/nep5.go @@ -60,21 +60,21 @@ func newNEP5Commands() []cli.Command { { Name: "balance", Usage: "get address balance", - UsageText: "balance --path --rpc-endpoint --timeout