cli/query: provide better help messages

This commit is contained in:
Roman Khimov 2021-07-21 18:26:58 +03:00
parent 0415e6dc10
commit 7fc3689b48

View file

@ -26,11 +26,11 @@ func NewCommands() []cli.Command {
}, options.RPC...) }, options.RPC...)
return []cli.Command{{ return []cli.Command{{
Name: "query", Name: "query",
Usage: "query", Usage: "Query data from RPC node",
Subcommands: []cli.Command{ Subcommands: []cli.Command{
{ {
Name: "tx", Name: "tx",
Usage: "query tx status", Usage: "Query transaction status",
Action: queryTx, Action: queryTx,
Flags: queryTxFlags, Flags: queryTxFlags,
}, },