Skip to content

Commit

Permalink
Merge pull request #2953 from MDrollette/remove-arg
Browse files Browse the repository at this point in the history
cmd/lncli: remove unused time_limit flag
  • Loading branch information
Roasbeef committed Apr 18, 2019
2 parents 373927f + c5b597b commit 76d91c7
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions cmd/lncli/commands.go
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 76d91c7

Please sign in to comment.