lncli: chan_point option for updatechanstatus

This commit is contained in:
Slyghtning committed 2022-07-06 10:19:12 -04:00
1 parent 738241d5fa
commit 86f1bc7db0
2 files changed
+14 -4

No files matched your search

+9 -4
View File
@@ -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),