diff --git a/cli/options/options.go b/cli/options/options.go index 390bf3771..ce5534574 100644 --- a/cli/options/options.go +++ b/cli/options/options.go @@ -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", }, } diff --git a/cli/query/query.go b/cli/query/query.go index 8561c2f17..1eb141e3e 100644 --- a/cli/query/query.go +++ b/cli/query/query.go @@ -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 -r endpoint [-v]", + Action: queryTx, + Flags: queryTxFlags, }, { Name: "voter",