From 86f1bc7db0065286cf382cc815f19244b7b64566 Mon Sep 17 00:00:00 2001 From: Slyghtning Date: Wed, 6 Jul 2022 10:19:12 -0400 Subject: [PATCH] lncli: chan_point option for updatechanstatus --- cmd/lncli/cmd_update_chan_status.go | 13 +++++++++---- docs/release-notes/release-notes-0.15.1.md | 5 +++++ 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/cmd/lncli/cmd_update_chan_status.go b/cmd/lncli/cmd_update_chan_status.go index 74f849105..23c22f0b1 100644 --- a/cmd/lncli/cmd_update_chan_status.go +++ b/cmd/lncli/cmd_update_chan_status.go @@ -37,13 +37,18 @@ var updateChanStatusCommand = cli.Command{ }, cli.IntFlag{ Name: "output_index", - Usage: "the output index for the funding output of the funding " + - "transaction", + Usage: "the output index for the funding output of " + + "the funding transaction", + }, + cli.StringFlag{ + Name: "chan_point", + Usage: "the channel whose status should be updated. " + + "Takes the form of: txid:output_index", }, cli.StringFlag{ Name: "action", - Usage: `the action to take: must be one of "enable", "disable", ` + - `or "auto"`, + Usage: `the action to take: must be one of "enable", ` + + `"disable", or "auto"`, }, }, Action: actionDecorator(updateChanStatus), diff --git a/docs/release-notes/release-notes-0.15.1.md b/docs/release-notes/release-notes-0.15.1.md index 014874953..f3a2fe9a4 100644 --- a/docs/release-notes/release-notes-0.15.1.md +++ b/docs/release-notes/release-notes-0.15.1.md @@ -16,6 +16,10 @@ addholdinvoice`](https://github.com/lightningnetwork/lnd/pull/6577). Users now need to explicitly specify the `--private` flag. +* [Add `chan_point` flag to + `updatechanstatus`](https://github.com/lightningnetwork/lnd/pull/6705) + to offer a convenient way to specify the channel to be updated. + ## Database * [Delete failed payment attempts](https://github.com/lightningnetwork/lnd/pull/6438) @@ -77,6 +81,7 @@ * Elle Mouton * ErikEk * Eugene Siegel +* Slyghtning * Oliver Gugger * Priyansh Rastogi * Tommy Volk