docs: Fix cli usage examples (#21150)

This commit is contained in:
Christoph Otter 2024-08-01 16:19:21 +02:00 committed by GitHub
parent c55e8d7101
commit fb9efdf875
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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 {