diff --git a/x/ibc/perm/autocli.go b/x/ibc/perm/autocli.go index 2e1b0a50..e82fe17d 100644 --- a/x/ibc/perm/autocli.go +++ b/x/ibc/perm/autocli.go @@ -12,22 +12,22 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { Service: permv1.Query_ServiceDesc.ServiceName, RpcCommandOptions: []*autocliv1.RpcCommandOptions{ { - RpcMethod: "PermissionedRelayer", - Use: "permissioned-relayer", - Alias: []string{"relayer"}, - Short: "Query the permissioned relayer of the IBC connection", - Long: "Query the permissioned relayer of the IBC connection", + RpcMethod: "PermissionedRelayersByChannel", + Use: "permissioned-relayers", + Alias: []string{"relayers"}, + Short: "Query the permissioned relayers of the IBC connection", + Long: "Query the permissioned relayers of the IBC connection", PositionalArgs: []*autocliv1.PositionalArgDescriptor{ {ProtoField: "port_id"}, {ProtoField: "channel_id"}, }, }, { - RpcMethod: "PermissionedRelayers", - Use: "permissioned-relayers", - Alias: []string{"relayers"}, - Short: "Query the permissioned relayers", - Long: "Query the permissioned relayers", + RpcMethod: "AllPermissionedRelayers", + Use: "all-permissioned-relayers", + Alias: []string{"all-relayers"}, + Short: "Query the permissioned relayers of all IBC connections", + Long: "Query the permissioned relayers of all IBC connections", }, }, },