mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-20 05:42:05 +02:00
cmd/lncli: clarify help for push_amt in openchannel
Fixes #1522. Fixes #1259.
This commit is contained in:
parent
e13f96e64b
commit
a43d02f8f0
@ -429,8 +429,11 @@ var openChannelCommand = cli.Command{
|
|||||||
},
|
},
|
||||||
cli.IntFlag{
|
cli.IntFlag{
|
||||||
Name: "push_amt",
|
Name: "push_amt",
|
||||||
Usage: "the number of satoshis to push to the remote " +
|
Usage: "the number of satoshis to give the remote side " +
|
||||||
"side as part of the initial commitment state",
|
"as part of the initial commitment state, " +
|
||||||
|
"this is equivalent to first opening a " +
|
||||||
|
"channel and sending the remote party funds, " +
|
||||||
|
"but done all in one step",
|
||||||
},
|
},
|
||||||
cli.BoolFlag{
|
cli.BoolFlag{
|
||||||
Name: "block",
|
Name: "block",
|
||||||
@ -1585,33 +1588,33 @@ var closedChannelsCommand = cli.Command{
|
|||||||
Name: "closedchannels",
|
Name: "closedchannels",
|
||||||
Category: "Channels",
|
Category: "Channels",
|
||||||
Usage: "List all closed channels.",
|
Usage: "List all closed channels.",
|
||||||
Flags: []cli.Flag{
|
Flags: []cli.Flag{
|
||||||
cli.BoolFlag{
|
cli.BoolFlag{
|
||||||
Name: "cooperative",
|
Name: "cooperative",
|
||||||
Usage: "list channels that were closed cooperatively",
|
Usage: "list channels that were closed cooperatively",
|
||||||
},
|
},
|
||||||
cli.BoolFlag{
|
cli.BoolFlag{
|
||||||
Name: "local_force",
|
Name: "local_force",
|
||||||
Usage: "list channels that were force-closed " +
|
Usage: "list channels that were force-closed " +
|
||||||
"by the local node",
|
"by the local node",
|
||||||
},
|
},
|
||||||
cli.BoolFlag{
|
cli.BoolFlag{
|
||||||
Name: "remote_force",
|
Name: "remote_force",
|
||||||
Usage: "list channels that were force-closed " +
|
Usage: "list channels that were force-closed " +
|
||||||
"by the remote node",
|
"by the remote node",
|
||||||
},
|
},
|
||||||
cli.BoolFlag{
|
cli.BoolFlag{
|
||||||
Name: "breach",
|
Name: "breach",
|
||||||
Usage: "list channels for which the remote node " +
|
Usage: "list channels for which the remote node " +
|
||||||
"attempted to broadcast a prior " +
|
"attempted to broadcast a prior " +
|
||||||
"revoked channel state",
|
"revoked channel state",
|
||||||
},
|
},
|
||||||
cli.BoolFlag{
|
cli.BoolFlag{
|
||||||
Name: "funding_canceled",
|
Name: "funding_canceled",
|
||||||
Usage: "list channels that were never fully opened",
|
Usage: "list channels that were never fully opened",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Action: actionDecorator(closedChannels),
|
Action: actionDecorator(closedChannels),
|
||||||
}
|
}
|
||||||
|
|
||||||
func closedChannels(ctx *cli.Context) error {
|
func closedChannels(ctx *cli.Context) error {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user