Skip to content

Commit

Permalink
add alias
Browse files Browse the repository at this point in the history
  • Loading branch information
boojamya committed Jul 26, 2023
1 parent aca6814 commit 95b1968
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cmd/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -1055,9 +1055,10 @@ $ %s query unrelayed-acks demo-path channel-0`,

func queryClientsExpiration(a *appState) *cobra.Command {
cmd := &cobra.Command{
Use: "clients-expiration path",
Short: "query for light clients expiration date",
Args: withUsage(cobra.ExactArgs(1)),
Use: "clients-expiration path",
Aliases: []string{"ce"},
Short: "query for light clients expiration date",
Args: withUsage(cobra.ExactArgs(1)),
Example: strings.TrimSpace(fmt.Sprintf(`
$ %s query clients-expiration demo-path`,
appName,
Expand Down

0 comments on commit 95b1968

Please sign in to comment.