From 3a96ba6ca0342d24734373e99b260f3a195a2a4d Mon Sep 17 00:00:00 2001 From: Lucas Bertrand Date: Mon, 24 Jun 2024 20:55:13 +0200 Subject: [PATCH] fix: use correct name for rate limiter flag query (#2367) * fix: use correct name for rate limiter flag query * make generate * Update x/crosschain/client/cli/query_rate_limiter_flags.go Co-authored-by: Tanmay * make generate --------- Co-authored-by: Tanmay --- docs/cli/zetacored/zetacored_query_crosschain.md | 2 +- ...> zetacored_query_crosschain_show-rate-limiter-flags.md} | 6 +++--- x/crosschain/client/cli/query_rate_limiter_flags.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename docs/cli/zetacored/{zetacored_query_crosschain_update_rate_limit_flags.md => zetacored_query_crosschain_show-rate-limiter-flags.md} (86%) diff --git a/docs/cli/zetacored/zetacored_query_crosschain.md b/docs/cli/zetacored/zetacored_query_crosschain.md index 595a065ea5..6ee04cc8d2 100644 --- a/docs/cli/zetacored/zetacored_query_crosschain.md +++ b/docs/cli/zetacored/zetacored_query_crosschain.md @@ -41,5 +41,5 @@ zetacored query crosschain [flags] * [zetacored query crosschain show-gas-price](zetacored_query_crosschain_show-gas-price.md) - shows a gasPrice * [zetacored query crosschain show-inbound-hash-to-cctx](zetacored_query_crosschain_show-inbound-hash-to-cctx.md) - shows a inboundHashToCctx * [zetacored query crosschain show-outbound-tracker](zetacored_query_crosschain_show-outbound-tracker.md) - shows an outbound tracker -* [zetacored query crosschain update_rate_limit_flags](zetacored_query_crosschain_update_rate_limit_flags.md) - shows the rate limiter flags +* [zetacored query crosschain show-rate-limiter-flags](zetacored_query_crosschain_show-rate-limiter-flags.md) - shows the rate limiter flags diff --git a/docs/cli/zetacored/zetacored_query_crosschain_update_rate_limit_flags.md b/docs/cli/zetacored/zetacored_query_crosschain_show-rate-limiter-flags.md similarity index 86% rename from docs/cli/zetacored/zetacored_query_crosschain_update_rate_limit_flags.md rename to docs/cli/zetacored/zetacored_query_crosschain_show-rate-limiter-flags.md index 6dcc3b12a4..abbf7042bb 100644 --- a/docs/cli/zetacored/zetacored_query_crosschain_update_rate_limit_flags.md +++ b/docs/cli/zetacored/zetacored_query_crosschain_show-rate-limiter-flags.md @@ -1,9 +1,9 @@ -# query crosschain update_rate_limit_flags +# query crosschain show-rate-limiter-flags shows the rate limiter flags ``` -zetacored query crosschain update_rate_limit_flags [flags] +zetacored query crosschain show-rate-limiter-flags [flags] ``` ### Options @@ -12,7 +12,7 @@ zetacored query crosschain update_rate_limit_flags [flags] --grpc-addr string the gRPC endpoint to use for this chain --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS --height int Use a specific height to query state at (this can error if the node is pruning state) - -h, --help help for update_rate_limit_flags + -h, --help help for show-rate-limiter-flags --node string [host]:[port] to Tendermint RPC interface for this chain -o, --output string Output format (text|json) ``` diff --git a/x/crosschain/client/cli/query_rate_limiter_flags.go b/x/crosschain/client/cli/query_rate_limiter_flags.go index ad4177295e..bdd8fd0558 100644 --- a/x/crosschain/client/cli/query_rate_limiter_flags.go +++ b/x/crosschain/client/cli/query_rate_limiter_flags.go @@ -12,7 +12,7 @@ import ( func CmdShowUpdateRateLimiterFlags() *cobra.Command { cmd := &cobra.Command{ - Use: "update_rate_limit_flags", + Use: "show-rate-limiter-flags", Short: "shows the rate limiter flags", RunE: func(cmd *cobra.Command, _ []string) error { clientCtx := client.GetClientContextFromCmd(cmd)