diff --git a/cmd/loop/openchannel.go b/cmd/loop/openchannel.go index d65056cd..98cc2452 100644 --- a/cmd/loop/openchannel.go +++ b/cmd/loop/openchannel.go @@ -158,11 +158,11 @@ var openChannelCommand = &cli.Command{ }, &cli.StringFlag{ Name: "memo", - Usage: `(optional) a note-to-self containing some useful - information about the channel. 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`, + Usage: "(optional) a note-to-self containing some useful " + + "information about the channel. 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", }, &cli.BoolFlag{ Name: "fundmax", diff --git a/cmd/loop/testdata/sessions/static-openchannel/01_loop-static-openchannel-help.json b/cmd/loop/testdata/sessions/static-openchannel/01_loop-static-openchannel-help.json index 56b535a1..11582280 100644 --- a/cmd/loop/testdata/sessions/static-openchannel/01_loop-static-openchannel-help.json +++ b/cmd/loop/testdata/sessions/static-openchannel/01_loop-static-openchannel-help.json @@ -71,11 +71,7 @@ " --zero_conf (optional) whether a zero-conf channel open should be attempted. (default: false)\n", " --scid_alias (optional) whether a scid-alias channel type should be negotiated. (default: false)\n", " --remote_reserve_sats uint (optional) the minimum number of satoshis we require the remote node to keep as a direct payment. If not specified, a default of 1% of the channel capacity will be used. (default: 0)\n", - " --memo string (optional) a note-to-self containing some useful\n", - " information about the channel. This is stored\n", - " locally only, and is purely for reference. It\n", - " has no bearing on the channel's operation. Max\n", - " allowed length is 500 characters\n", + " --memo string (optional) a note-to-self containing some useful information about the channel. 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\n", " --fundmax if set, the wallet will attempt to commit the maximum possible local amount to the channel. This must not be set at the same time as local_amt (default: false)\n", " --utxo string [ --utxo string ] a utxo specified as outpoint(tx:idx) which will be used to fund a channel. This flag can be repeatedly used to fund a channel with a selection of utxos. The selected funds can either be entirely spent by specifying the fundmax flag or partially by selecting a fraction of the sum of the outpoints in local_amt\n", " --help, -h show help\n", diff --git a/docs/loop.1 b/docs/loop.1 index 1a9ca824..b100a83b 100644 --- a/docs/loop.1 +++ b/docs/loop.1 @@ -575,11 +575,7 @@ Open a channel to an existing peer. \fB--max_local_csv\fP="": (optional) the maximum number of blocks that we will allow the remote peer to require we wait before accessing our funds in the case of a unilateral close. (default: 0) .PP -\fB--memo\fP="": (optional) a note-to-self containing some useful - information about the channel. 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 +\fB--memo\fP="": (optional) a note-to-self containing some useful information about the channel. 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 .PP \fB--min_htlc_msat\fP="": (optional) the minimum value we will require for incoming HTLCs on the channel (default: 0) diff --git a/docs/loop.md b/docs/loop.md index 2f48e947..688d3776 100644 --- a/docs/loop.md +++ b/docs/loop.md @@ -719,7 +719,7 @@ The following flags are supported: | `--zero_conf` | (optional) whether a zero-conf channel open should be attempted | bool | `false` | | `--scid_alias` | (optional) whether a scid-alias channel type should be negotiated | bool | `false` | | `--remote_reserve_sats="…"` | (optional) the minimum number of satoshis we require the remote node to keep as a direct payment. If not specified, a default of 1% of the channel capacity will be used | uint | `0` | -| `--memo="…"` | (optional) a note-to-self containing some useful information about the channel. 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 | string | +| `--memo="…"` | (optional) a note-to-self containing some useful information about the channel. 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 | string | | `--fundmax` | if set, the wallet will attempt to commit the maximum possible local amount to the channel. This must not be set at the same time as local_amt | bool | `false` | | `--utxo="…"` | a utxo specified as outpoint(tx:idx) which will be used to fund a channel. This flag can be repeatedly used to fund a channel with a selection of utxos. The selected funds can either be entirely spent by specifying the fundmax flag or partially by selecting a fraction of the sum of the outpoints in local_amt | string | `[]` | | `--help` (`-h`) | show help | bool | `false` |