cli: unify commands description

Always put blank line in the end of the command description.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
Anna Shaleva 2024-04-10 19:18:54 +03:00
parent 51537dfd29
commit 69bcd4b7d9
2 changed files with 6 additions and 3 deletions

View file

@ -137,7 +137,8 @@ func NewCommands() []cli.Command {
then the output filenames for these flags will be guessed using the contract then the output filenames for these flags will be guessed using the contract
name or path provided via --in option by trimming/adding corresponding suffixes name or path provided via --in option by trimming/adding corresponding suffixes
to the common part of the path. In the latter case the configuration filepath to the common part of the path. In the latter case the configuration filepath
will be guessed from the --in option using the same rule."`, will be guessed from the --in option using the same rule.
`,
Action: contractCompile, Action: contractCompile,
Flags: []cli.Flag{ Flags: []cli.Flag{
cli.StringFlag{ cli.StringFlag{

View file

@ -69,7 +69,8 @@ func NewCommands() []cli.Command {
NetworkFee calculations are performed based on the calculatenetworkfee RPC request. If the --gas NetworkFee calculations are performed based on the calculatenetworkfee RPC request. If the --gas
flag is included, the specified value is added to the resulting conflicting transaction network fee flag is included, the specified value is added to the resulting conflicting transaction network fee
in both scenarios. When the --await flag is included, the command waits for one of the conflicting in both scenarios. When the --await flag is included, the command waits for one of the conflicting
or target transactions to be included in a block.`, or target transactions to be included in a block.
`,
Action: cancelTx, Action: cancelTx,
Flags: txCancelFlags, Flags: txCancelFlags,
}, },
@ -83,7 +84,8 @@ func NewCommands() []cli.Command {
the output. This command expects a ContractParametersContext JSON file for input, it can't handle the output. This command expects a ContractParametersContext JSON file for input, it can't handle
binary (or hex- or base64-encoded) transactions. If --rpc-endpoint flag is specified the result binary (or hex- or base64-encoded) transactions. If --rpc-endpoint flag is specified the result
of the given script after running it true the VM will be printed. Otherwise only transaction will of the given script after running it true the VM will be printed. Otherwise only transaction will
be printed.`, be printed.
`,
}, },
{ {
Name: "ops", Name: "ops",