cmd/lncli: remove unused time_limit flag

This commit is contained in:
Matt Drollette 2019-04-14 12:09:52 -05:00
parent c0141a7bc1
commit c5b597b501

View File

@ -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",