Skip to content

Commit

Permalink
address Long
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruslan Akhtariev authored and Ruslan Akhtariev committed Dec 8, 2022
1 parent b0254d9 commit 463d5fa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions x/epochs/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ func GetCmdEpochInfos() (*osmocli.QueryDescriptor, *types.QueryEpochsInfoRequest
return &osmocli.QueryDescriptor{
Use: "epoch-infos",
Short: "Query running epoch infos.",
Long: `{{.Short}}{{.ExampleHeader}}`}, &types.QueryEpochsInfoRequest{}
Long: `{{.Short}}{{.ExampleHeader}}
{{.CommandPrefix}}`}, &types.QueryEpochsInfoRequest{}
}

func GetCmdCurrentEpoch() (*osmocli.QueryDescriptor, *types.QueryCurrentEpochRequest) {
return &osmocli.QueryDescriptor{
Use: "current-epoch",
Short: "Query current epoch by specified identifier.",
Long: `{{.Short}}{{.ExampleHeader}}`}, &types.QueryCurrentEpochRequest{}
Long: `{{.Short}}{{.ExampleHeader}}
{{.CommandPrefix}} day`}, &types.QueryCurrentEpochRequest{}
}

0 comments on commit 463d5fa

Please sign in to comment.