Merge pull request #2953 from MDrollette/remove-arg

cmd/lncli: remove unused time_limit flag
This commit is contained in:
Olaoluwa Osuntokun 2019-04-17 19:38:11 -07:00 committed by GitHub
commit 76d91c702f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -838,7 +838,7 @@ var closeChannelCommand = cli.Command{
To view which funding_txids/output_indexes can be used for a channel close, To view which funding_txids/output_indexes can be used for a channel close,
see the channel_point values within the listchannels command output. see the channel_point values within the listchannels command output.
The format for a channel_point is 'funding_txid:output_index'.`, 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{ Flags: []cli.Flag{
cli.StringFlag{ cli.StringFlag{
Name: "funding_txid", Name: "funding_txid",
@ -849,15 +849,9 @@ var closeChannelCommand = cli.Command{
Usage: "the output index for the funding output of the funding " + Usage: "the output index for the funding output of the funding " +
"transaction", "transaction",
}, },
cli.StringFlag{
Name: "time_limit",
Usage: "a relative deadline afterwhich the attempt should be " +
"abandoned",
},
cli.BoolFlag{ cli.BoolFlag{
Name: "force", Name: "force",
Usage: "after the time limit has passed, attempt an " + Usage: "attempt an uncooperative closure",
"uncooperative closure",
}, },
cli.BoolFlag{ cli.BoolFlag{
Name: "block", Name: "block",