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{
|
||||
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,
|
||||
},
|
||||
{
|
||||
Name: "tx",
|
||||
Usage: "Query transaction status",
|
||||
Action: queryTx,
|
||||
Flags: queryTxFlags,
|
||||
Name: "tx",
|
||||
Usage: "Query transaction status",
|
||||
UsageText: "neo-go query tx <hash> -r endpoint [-v]",
|
||||
Action: queryTx,
|
||||
Flags: queryTxFlags,
|
||||
},
|
||||
{
|
||||
Name: "voter",
|
||||
|
|
Loading…
Reference in a new issue