refactor(cli): Standardize Use field convention and update readme (#21369)
This commit is contained in:
@@ -79,7 +79,7 @@ for. Each module documents its respective events under 'xx_events.md'.
|
||||
// QueryTxCmd implements the default command for a tx query.
|
||||
func QueryTxCmd() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "tx --type=[hash|acc_seq|signature] [hash|acc_seq|signature]",
|
||||
Use: "tx --type={hash|acc_seq|signature} <hash|acc_seq|signature>",
|
||||
Short: "Query for a transaction by hash, \"<addr>/<seq>\" combination or comma-separated signatures in a committed block",
|
||||
Long: strings.TrimSpace(fmt.Sprintf(`
|
||||
Example:
|
||||
|
||||
Reference in New Issue
Block a user