Skip to content

Commit

Permalink
docs(x/gov): Sync Example with Use in autocli (#22768)
Browse files Browse the repository at this point in the history
  • Loading branch information
DongLieu authored Dec 5, 2024
1 parent f8a3226 commit ec5225c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/distribution/autocli.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
RpcMethod: "ValidatorDistributionInfo",
Use: "validator-distribution-info <validator>",
Short: "Query validator distribution info",
Example: fmt.Sprintf(`Example: $ %s query distribution validator-distribution-info [validator-address]`, version.AppName),
Example: fmt.Sprintf(`$ %s query distribution validator-distribution-info [validator-address]`, version.AppName),

PositionalArgs: []*autocliv1.PositionalArgDescriptor{
{ProtoField: "validator_address"},
Expand Down
2 changes: 1 addition & 1 deletion x/gov/autocli.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
},
{
RpcMethod: "UpdateMessageParams",
Use: "update-params-msg-url-params <msg-url> <msg-params>",
Use: "update-msg-params-proposal <msg-url> <msg-params>",
Short: "Submit a proposal to update gov module message params. Note: the entire params must be provided.",
Example: fmt.Sprintf(`%s tx gov update-msg-params-proposal [msg-url]'{ params }'`, version.AppName),
PositionalArgs: []*autocliv1.PositionalArgDescriptor{
Expand Down

0 comments on commit ec5225c

Please sign in to comment.