Skip to content

Commit 5b6045c

Browse files
authored
style: Fix gov query proposals examples syntax (backport #20353) (#20357)
1 parent b696f7a commit 5b6045c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

x/gov/autocli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
2828
RpcMethod: "Proposals",
2929
Use: "proposals",
3030
Short: "Query proposals with optional filters",
31-
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),
31+
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),
3232
},
3333
{
3434
RpcMethod: "Proposal",

0 commit comments

Comments
 (0)