From 7bab81f196f9e02bd6bad733d83a74d7c0191f81 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Wed, 28 Dec 2022 12:18:09 +0300 Subject: [PATCH] cli: adjust flags description for `smartcontract generate-*` --- cli/smartcontract/generate.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/smartcontract/generate.go b/cli/smartcontract/generate.go index d95e90ca1..47c662865 100644 --- a/cli/smartcontract/generate.go +++ b/cli/smartcontract/generate.go @@ -26,7 +26,7 @@ var generatorFlags = []cli.Flag{ cli.StringFlag{ Name: "out, o", Required: true, - Usage: "Output of the compiled contract", + Usage: "Output of the compiled wrapper", }, cli.StringFlag{ Name: "hash", @@ -38,7 +38,7 @@ var generatorFlags = []cli.Flag{ var generateWrapperCmd = cli.Command{ Name: "generate-wrapper", Usage: "generate wrapper to use in other contracts", - UsageText: "neo-go contract generate-wrapper --manifest --out --hash ", + UsageText: "neo-go contract generate-wrapper --manifest --out --hash [--config ]", Description: ``, Action: contractGenerateWrapper, Flags: generatorFlags, @@ -47,7 +47,7 @@ var generateWrapperCmd = cli.Command{ var generateRPCWrapperCmd = cli.Command{ Name: "generate-rpcwrapper", Usage: "generate RPC wrapper to use for data reads", - UsageText: "neo-go contract generate-rpcwrapper --manifest --out --hash ", + UsageText: "neo-go contract generate-rpcwrapper --manifest --out --hash [--config ]", Action: contractGenerateRPCWrapper, Flags: generatorFlags, }