mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
cmd/loop: fix openchannel help typo
Correct the duplicated article in the static openchannel help text so the command summary reads cleanly. Refresh the recorded help fixtures that surface that summary directly, including the dedicated openchannel help output and the parent static command listing.
This commit is contained in:
parent
ca1ce698f0
commit
3abede2d8e
5 changed files with 6 additions and 14 deletions
|
|
@ -24,7 +24,7 @@ var (
|
|||
|
||||
var openChannelCommand = &cli.Command{
|
||||
Name: "openchannel",
|
||||
Usage: "Open a channel to a an existing peer.",
|
||||
Usage: "Open a channel to an existing peer.",
|
||||
Description: `
|
||||
Attempt to open a new channel to an existing peer with the key
|
||||
node-key.
|
||||
|
|
|
|||
|
|
@ -32,16 +32,8 @@
|
|||
" withdraw, w Withdraw from static address deposits.\n",
|
||||
" summary, s Display a summary of static address related information.\n",
|
||||
" in Loop in funds from static address deposits.\n",
|
||||
" openchannel Open a channel to a an existing peer.\n",
|
||||
"\n"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"time_ms": 2,
|
||||
"kind": "stdout",
|
||||
"data": {
|
||||
"lines": [
|
||||
" openchannel Open a channel to an existing peer.\n",
|
||||
"\n",
|
||||
"OPTIONS:\n",
|
||||
" --help, -h show help\n"
|
||||
]
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
"data": {
|
||||
"lines": [
|
||||
"NAME:\n",
|
||||
" loop static openchannel - Open a channel to a an existing peer.\n",
|
||||
" loop static openchannel - Open a channel to an existing peer.\n",
|
||||
"\n",
|
||||
"USAGE:\n",
|
||||
" loop static openchannel [options]\n",
|
||||
|
|
|
|||
|
|
@ -590,7 +590,7 @@ Loop in funds from static address deposits.
|
|||
|
||||
.SS openchannel
|
||||
.PP
|
||||
Open a channel to a an existing peer.
|
||||
Open a channel to an existing peer.
|
||||
|
||||
.PP
|
||||
\fB--base_fee_msat\fP="": the base fee in milli-satoshis that will be charged for each forwarded HTLC, regardless of payment size (default: 0)
|
||||
|
|
|
|||
|
|
@ -688,7 +688,7 @@ The following flags are supported:
|
|||
|
||||
### `static openchannel` subcommand
|
||||
|
||||
Open a channel to a an existing peer.
|
||||
Open a channel to an existing peer.
|
||||
|
||||
Attempt to open a new channel to an existing peer with the key node-key. The channel will be initialized with local-amt satoshis locally and push-amt satoshis for the remote node. Note that the push-amt is deducted from the specified local-amt which implies that the local-amt must be greater than the push-amt. Also note that specifying push-amt means you give that amount to the remote node as part of the channel opening. Once the channel is open, a channelPoint (txid:vout) of the funding output is returned. If the remote peer supports the option upfront shutdown feature bit (query listpeers to see their supported feature bits), an address to enforce payout of funds on cooperative close can optionally be provided. Note that if you set this value, you will not be able to cooperatively close out to another address. One can also specify a short string memo to record some useful information about the channel using the --memo argument. This is stored locally only, and is purely for reference. It has no bearing on the channel's operation. Max allowed length is 500 characters.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue