docs: Fix cli usage examples (#21150)

This commit is contained in:
Christoph Otter
2024-08-01 14:19:21 +00:00
committed by GitHub
parent c55e8d7101
commit fb9efdf875
2 changed files with 2 additions and 2 deletions
+1 -1
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'. for. Each module documents its respective events under 'xx_events.md'.
`, `,
Example: fmt.Sprintf( 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, version.AppName,
), ),
RunE: func(cmd *cobra.Command, args []string) error { RunE: func(cmd *cobra.Command, args []string) error {
+1 -1
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'. for. Each module documents its respective events under 'xx_events.md'.
`, `,
Example: fmt.Sprintf( 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, version.AppName,
), ),
RunE: func(cmd *cobra.Command, args []string) error { RunE: func(cmd *cobra.Command, args []string) error {