Skip to content

Commit e16ac08

Browse files
kristapskniftynei
authored andcommitted
Change order of paragraphs in manpage of fundchannel
1 parent 21c8eaf commit e16ac08

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

doc/lightning-fundchannel.7

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@ so) or \fIslow\fR (next 100 blocks or so) to use lightningd’s internal
3636
estimates: \fInormal\fR is the default\.
3737

3838

39-
\fIannounce\fR is an optional flag that triggers whether to announce this
40-
channel or not\. Defaults to \fBtrue\fR\. An unannounced channel is considered
41-
private\.
42-
43-
4439
Otherwise, \fIfeerate\fR is a number, with an optional suffix: \fIperkw\fR means
4540
the number is interpreted as satoshi-per-kilosipa (weight), and \fIperkb\fR
4641
means it is interpreted bitcoind-style as satoshi-per-kilobyte\. Omitting
4742
the suffix is equivalent to \fIperkb\fR\.
4843

4944

45+
\fIannounce\fR is an optional flag that triggers whether to announce this
46+
channel or not\. Defaults to \fBtrue\fR\. An unannounced channel is considered
47+
private\.
48+
49+
5050
\fIminconf\fR specifies the minimum number of confirmations that used
5151
outputs should have\. Default is 1\.
5252

@@ -63,6 +63,7 @@ is reported and the channel is not funded\.
6363

6464
The following error codes may occur:
6565

66+
.RS
6667
.IP \[bu]
6768
-1: Catchall nonspecific error\.
6869
.IP \[bu]
@@ -74,6 +75,7 @@ The following error codes may occur:
7475
.IP \[bu]
7576
303: Broadcasting of the funding transaction failed, the internal call to bitcoin-cli returned with an error\.
7677

78+
.RE
7779

7880
Failure may also occur if \fBlightningd\fR and the peer cannot agree on
7981
channel parameters (funding limits, channel reserves, fees, etc\.)\.

doc/lightning-fundchannel.7.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ the strings *urgent* (aim for next block), *normal* (next 4 blocks or
3434
so) or *slow* (next 100 blocks or so) to use lightningd’s internal
3535
estimates: *normal* is the default.
3636

37-
*announce* is an optional flag that triggers whether to announce this
38-
channel or not. Defaults to `true`. An unannounced channel is considered
39-
private.
40-
4137
Otherwise, *feerate* is a number, with an optional suffix: *perkw* means
4238
the number is interpreted as satoshi-per-kilosipa (weight), and *perkb*
4339
means it is interpreted bitcoind-style as satoshi-per-kilobyte. Omitting
4440
the suffix is equivalent to *perkb*.
4541

42+
*announce* is an optional flag that triggers whether to announce this
43+
channel or not. Defaults to `true`. An unannounced channel is considered
44+
private.
45+
4646
*minconf* specifies the minimum number of confirmations that used
4747
outputs should have. Default is 1.
4848

0 commit comments

Comments
 (0)