diff --git a/cmd/commands/cmd_custom.go b/cmd/commands/cmd_custom.go index 5f3b4c6b7..474af6c67 100644 --- a/cmd/commands/cmd_custom.go +++ b/cmd/commands/cmd_custom.go @@ -9,7 +9,9 @@ import ( ) var sendCustomCommand = cli.Command{ - Name: "sendcustom", + Name: "sendcustom", + Category: "Peers", + Usage: "Send a custom p2p wire message to a peer", Flags: []cli.Flag{ cli.StringFlag{ Name: "peer", @@ -55,7 +57,10 @@ func sendCustom(ctx *cli.Context) error { } var subscribeCustomCommand = cli.Command{ - Name: "subscribecustom", + Name: "subscribecustom", + Category: "Peers", + Usage: "Subscribe to incoming custom p2p wire messages from all " + + "peers", Action: actionDecorator(subscribeCustom), } @@ -65,8 +70,7 @@ func subscribeCustom(ctx *cli.Context) error { defer cleanUp() stream, err := client.SubscribeCustomMessages( - ctxc, - &lnrpc.SubscribeCustomMessagesRequest{}, + ctxc, &lnrpc.SubscribeCustomMessagesRequest{}, ) if err != nil { return err