forked from TrueCloudLab/neoneo-go
Merge pull request #2411 from nspcc-dev/cli/improve-query-help
cli: improve help text a bit
This commit is contained in:
commit
fa040c21ba
2 changed files with 7 additions and 5 deletions
|
@ -37,7 +37,8 @@ var RPC = []cli.Flag{
|
||||||
},
|
},
|
||||||
cli.DurationFlag{
|
cli.DurationFlag{
|
||||||
Name: "timeout, s",
|
Name: "timeout, s",
|
||||||
Usage: "Timeout for the operation (10 seconds by default)",
|
Value: DefaultTimeout,
|
||||||
|
Usage: "Timeout for the operation",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -56,10 +56,11 @@ func NewCommands() []cli.Command {
|
||||||
Flags: options.RPC,
|
Flags: options.RPC,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "tx",
|
Name: "tx",
|
||||||
Usage: "Query transaction status",
|
Usage: "Query transaction status",
|
||||||
Action: queryTx,
|
UsageText: "neo-go query tx <hash> -r endpoint [-v]",
|
||||||
Flags: queryTxFlags,
|
Action: queryTx,
|
||||||
|
Flags: queryTxFlags,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "voter",
|
Name: "voter",
|
||||||
|
|
Loading…
Reference in a new issue