Skip to content

Commit

Permalink
Example does not match Use
Browse files Browse the repository at this point in the history
  • Loading branch information
DongLieu committed Dec 5, 2024
1 parent 556102c commit b784834
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 @@ -147,7 +147,7 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
RpcMethod: "UpdateMessageParams",
Use: "update-params-msg-url-params <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),
Example: fmt.Sprintf(`%s tx gov update-params-msg-url-params [msg-url]'{ params }'`, version.AppName),
PositionalArgs: []*autocliv1.PositionalArgDescriptor{
{ProtoField: "msg_url"},
{ProtoField: "params"},
Expand Down

0 comments on commit b784834

Please sign in to comment.