Skip to content

Commit

Permalink
style(chore autocli): updates Example, Use auctocli (#23088)
Browse files Browse the repository at this point in the history
(cherry picked from commit e39065d)
  • Loading branch information
DongLieu authored and mergify[bot] committed Dec 28, 2024
1 parent 4d1dd3d commit 13bc8dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion x/distribution/autocli.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
RpcMethod: "DelegationRewards",
Use: "rewards-by-validator <delegator-addr> <validator-addr>",
Short: "Query all distribution delegator from a particular validator",
Example: fmt.Sprintf("$ %s query distribution rewards [delegator-address] [validator-address]", version.AppName),
Example: fmt.Sprintf("$ %s query distribution rewards-by-validator [delegator-address] [validator-address]", version.AppName),
PositionalArgs: []*autocliv1.PositionalArgDescriptor{
{ProtoField: "delegator_address"},
{ProtoField: "validator_address"},
Expand Down
1 change: 1 addition & 0 deletions x/staking/autocli.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
RpcCommandOptions: []*autocliv1.RpcCommandOptions{
{
RpcMethod: "Validators",
Use: "validators",
Short: "Query for all validators",
Long: "Query details about all validators on a network.",
},
Expand Down

0 comments on commit 13bc8dc

Please sign in to comment.