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
|
@ -58,6 +58,7 @@ func NewCommands() []cli.Command {
|
|||
{
|
||||
Name: "tx",
|
||||
Usage: "Query transaction status",
|
||||
UsageText: "neo-go query tx <hash> -r endpoint [-v]",
|
||||
Action: queryTx,
|
||||
Flags: queryTxFlags,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue