From c5b597b501f7841dc67c35108379679623ac81c2 Mon Sep 17 00:00:00 2001 From: Matt Drollette Date: Sun, 14 Apr 2019 12:09:52 -0500 Subject: [PATCH] cmd/lncli: remove unused time_limit flag --- cmd/lncli/commands.go | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/cmd/lncli/commands.go b/cmd/lncli/commands.go index 733dd898..a1fe1523 100644 --- a/cmd/lncli/commands.go +++ b/cmd/lncli/commands.go @@ -838,7 +838,7 @@ var closeChannelCommand = cli.Command{ To view which funding_txids/output_indexes can be used for a channel close, see the channel_point values within the listchannels command output. The format for a channel_point is 'funding_txid:output_index'.`, - ArgsUsage: "funding_txid [output_index [time_limit]]", + ArgsUsage: "funding_txid [output_index]", Flags: []cli.Flag{ cli.StringFlag{ Name: "funding_txid", @@ -849,15 +849,9 @@ var closeChannelCommand = cli.Command{ Usage: "the output index for the funding output of the funding " + "transaction", }, - cli.StringFlag{ - Name: "time_limit", - Usage: "a relative deadline afterwhich the attempt should be " + - "abandoned", - }, cli.BoolFlag{ - Name: "force", - Usage: "after the time limit has passed, attempt an " + - "uncooperative closure", + Name: "force", + Usage: "attempt an uncooperative closure", }, cli.BoolFlag{ Name: "block",