cli: specify usage text for 'contract deploy' command

This commit is contained in:
Anna Shaleva 2021-04-16 17:48:00 +03:00
parent 8f14c61c34
commit 1a8ea8e2d6

View file

@ -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.
`,