From fb9efdf875db29dd9654b9ce606c9cb6632704cf Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Thu, 1 Aug 2024 16:19:21 +0200 Subject: [PATCH] docs: Fix cli usage examples (#21150) --- server/cmt_cmds.go | 2 +- server/v2/cometbft/commands.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/cmt_cmds.go b/server/cmt_cmds.go index abbc4a9f5da3..6e13230e5260 100644 --- a/server/cmt_cmds.go +++ b/server/cmt_cmds.go @@ -183,7 +183,7 @@ Please refer to each module's documentation for the full set of events to query for. Each module documents its respective events under 'xx_events.md'. `, Example: fmt.Sprintf( - "$ %s query blocks --query \"message.sender='cosmos1...' AND block.height > 7\" --page 1 --limit 30 --order-by ASC", + "$ %s query blocks --query \"message.sender='cosmos1...' AND block.height > 7\" --page 1 --limit 30 --order_by asc", version.AppName, ), RunE: func(cmd *cobra.Command, args []string) error { diff --git a/server/v2/cometbft/commands.go b/server/v2/cometbft/commands.go index 26d13058952a..802d04a26851 100644 --- a/server/v2/cometbft/commands.go +++ b/server/v2/cometbft/commands.go @@ -192,7 +192,7 @@ Please refer to each module's documentation for the full set of events to query for. Each module documents its respective events under 'xx_events.md'. `, Example: fmt.Sprintf( - "$ %s query blocks --query \"message.sender='cosmos1...' AND block.height > 7\" --page 1 --limit 30 --order-by ASC", + "$ %s query blocks --query \"message.sender='cosmos1...' AND block.height > 7\" --page 1 --limit 30 --order_by asc", version.AppName, ), RunE: func(cmd *cobra.Command, args []string) error {