From c9eb07793584c03736526851ca09670dd75e95db Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 25 Apr 2018 13:28:15 -0700 Subject: [PATCH] cmd/lncli: remove unused args for pendingchannels command Fixes #1123. --- cmd/lncli/commands.go | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/cmd/lncli/commands.go b/cmd/lncli/commands.go index 33c4884b..4a1f3297 100644 --- a/cmd/lncli/commands.go +++ b/cmd/lncli/commands.go @@ -1357,23 +1357,8 @@ func getInfo(ctx *cli.Context) error { } var pendingChannelsCommand = cli.Command{ - Name: "pendingchannels", - Usage: "Display information pertaining to pending channels", - Flags: []cli.Flag{ - cli.BoolFlag{ - Name: "open, o", - Usage: "display the status of new pending channels", - }, - cli.BoolFlag{ - Name: "close, c", - Usage: "display the status of channels being closed", - }, - cli.BoolFlag{ - Name: "all, a", - Usage: "display the status of channels in the " + - "process of being opened or closed", - }, - }, + Name: "pendingchannels", + Usage: "Display information pertaining to pending channels", Action: actionDecorator(pendingChannels), }