mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-25 23:42:23 +00:00
cli: improve query tx
usage text
Note explicitly that transaction hash should be specified, so instead of an old help text: ``` $ ./bin/neo-go query tx --help NAME: neo-go query tx - Query transaction status USAGE: neo-go query tx [command options] [arguments...] OPTIONS: --verbose, -v Output full tx info and execution logs --rpc-endpoint value, -r value RPC node address --timeout value, -s value Timeout for the operation (10 seconds by default) (default: 0s) ``` now we got the more informative one: ``` $ ./bin/neo-go query tx --help NAME: neo-go query tx - Query transaction status USAGE: neo-go query tx <hash> -r endpoint [-v] OPTIONS: --verbose, -v Output full tx info and execution logs --rpc-endpoint value, -r value RPC node address --timeout value, -s value Timeout for the operation (10 seconds by default) (default: 0s) ```
This commit is contained in:
parent
52893d6a00
commit
f2c292e0c7
1 changed files with 5 additions and 4 deletions
|
@ -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