From dc36f120bf2d75bd8b87b5d622ce40aa82fc7c9b Mon Sep 17 00:00:00 2001 From: Aleksey <33575324+Lefey@users.noreply.github.com> Date: Sat, 11 May 2024 23:07:02 +1000 Subject: [PATCH] Update autocli.go Fix gov query proposals example syntax --- x/gov/autocli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/gov/autocli.go b/x/gov/autocli.go index f5cc027b6ce..a7b233756b7 100644 --- a/x/gov/autocli.go +++ b/x/gov/autocli.go @@ -32,7 +32,7 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { RpcMethod: "Proposals", Use: "proposals", Short: "Query proposals with optional filters", - Example: fmt.Sprintf("%[1]s query gov proposals --depositor cosmos1...\n%[1]s query gov proposals --voter cosmos1...\n%[1]s query gov proposals --proposal-status (PROPOSAL_STATUS_DEPOSIT_PERIOD|PROPOSAL_STATUS_VOTING_PERIOD|PROPOSAL_STATUS_PASSED|PROPOSAL_STATUS_REJECTED|PROPOSAL_STATUS_FAILED)", version.AppName), + Example: fmt.Sprintf("%[1]s query gov proposals --depositor cosmos1...\n%[1]s query gov proposals --voter cosmos1...\n%[1]s query gov proposals --proposal-status (unspecified | deposit-period | voting-period | passed | rejected | failed)", version.AppName), }, { RpcMethod: "Proposal",