From 1a8ea8e2d6ae2bdbdcbd9b0909897c945e2072e4 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Fri, 16 Apr 2021 17:48:00 +0300 Subject: [PATCH] cli: specify usage text for 'contract deploy' command --- cli/smartcontract/smart_contract.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cli/smartcontract/smart_contract.go b/cli/smartcontract/smart_contract.go index d7f7224fb..c66cb8adb 100644 --- a/cli/smartcontract/smart_contract.go +++ b/cli/smartcontract/smart_contract.go @@ -169,8 +169,9 @@ func NewCommands() []cli.Command { }, }, { - Name: "deploy", - Usage: "deploy a smart contract (.nef with description)", + Name: "deploy", + Usage: "deploy a smart contract (.nef with description)", + UsageText: "neo-go contract deploy -r endpoint -w wallet [-a address] [-g gas] --in contract.nef --manifest contract.manifest.json [--out file]", Description: `Deploys given contract into the chain. The gas parameter is for additional gas to be added as a network fee to prioritize the transaction. `,