mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 17:14:22 +01:00
doc: reorder --mainnet before --testnet
This commit is contained in:
committed by
Christian Decker
parent
b8c972a0e2
commit
2dd6b82dfb
@@ -438,15 +438,15 @@ void initial_config_opts(const tal_t *ctx,
|
|||||||
NULL,
|
NULL,
|
||||||
"Select the network parameters (bitcoin, testnet,"
|
"Select the network parameters (bitcoin, testnet,"
|
||||||
" signet, regtest, litecoin or litecoin-testnet)");
|
" signet, regtest, litecoin or litecoin-testnet)");
|
||||||
|
opt_register_early_noarg("--mainnet",
|
||||||
|
opt_restricted_toplevel_noarg, NULL,
|
||||||
|
"Alias for --network=bitcoin");
|
||||||
opt_register_early_noarg("--testnet",
|
opt_register_early_noarg("--testnet",
|
||||||
opt_restricted_toplevel_noarg, NULL,
|
opt_restricted_toplevel_noarg, NULL,
|
||||||
"Alias for --network=testnet");
|
"Alias for --network=testnet");
|
||||||
opt_register_early_noarg("--signet",
|
opt_register_early_noarg("--signet",
|
||||||
opt_restricted_toplevel_noarg, NULL,
|
opt_restricted_toplevel_noarg, NULL,
|
||||||
"Alias for --network=signet");
|
"Alias for --network=signet");
|
||||||
opt_register_early_noarg("--mainnet",
|
|
||||||
opt_restricted_toplevel_noarg, NULL,
|
|
||||||
"Alias for --network=bitcoin");
|
|
||||||
|
|
||||||
/* They can set this later, it's just less effective. */
|
/* They can set this later, it's just less effective. */
|
||||||
opt_register_early_arg("--allow-deprecated-apis",
|
opt_register_early_arg("--allow-deprecated-apis",
|
||||||
|
|||||||
@@ -68,6 +68,10 @@ Select the network parameters (\fIbitcoin\fR, \fItestnet\fR, \fIsignet\fR, or \f
|
|||||||
This is not valid within the per-network configuration file\.
|
This is not valid within the per-network configuration file\.
|
||||||
|
|
||||||
|
|
||||||
|
\fBmainnet\fR
|
||||||
|
Alias for \fInetwork=bitcoin\fR\.
|
||||||
|
|
||||||
|
|
||||||
\fBtestnet\fR
|
\fBtestnet\fR
|
||||||
Alias for \fInetwork=testnet\fR\.
|
Alias for \fInetwork=testnet\fR\.
|
||||||
|
|
||||||
@@ -76,10 +80,6 @@ Alias for \fInetwork=testnet\fR\.
|
|||||||
Alias for \fInetwork=signet\fR\.
|
Alias for \fInetwork=signet\fR\.
|
||||||
|
|
||||||
|
|
||||||
\fBmainnet\fR
|
|
||||||
Alias for \fInetwork=bitcoin\fR\.
|
|
||||||
|
|
||||||
|
|
||||||
\fBbitcoin-cli\fR=\fIPATH\fR
|
\fBbitcoin-cli\fR=\fIPATH\fR
|
||||||
The name of \fIbitcoin-cli\fR executable to run\.
|
The name of \fIbitcoin-cli\fR executable to run\.
|
||||||
|
|
||||||
@@ -581,4 +581,4 @@ Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
|
|||||||
Note: the modules in the ccan/ directory have their own licenses, but
|
Note: the modules in the ccan/ directory have their own licenses, but
|
||||||
the rest of the code is covered by the BSD-style MIT license\.
|
the rest of the code is covered by the BSD-style MIT license\.
|
||||||
|
|
||||||
\" SHA256STAMP:9d72136e5abae6cb8f36899ebaeed6644ea566e95ec1a6f8b13cc911ed64a294
|
\" SHA256STAMP:6b275a3227db6565ad3c5369b95d3eefe9472864b8ed9e6c5c768981cdf23b8f
|
||||||
|
|||||||
@@ -63,15 +63,15 @@ Bitcoin control options:
|
|||||||
Select the network parameters (*bitcoin*, *testnet*, *signet*, or *regtest*).
|
Select the network parameters (*bitcoin*, *testnet*, *signet*, or *regtest*).
|
||||||
This is not valid within the per-network configuration file.
|
This is not valid within the per-network configuration file.
|
||||||
|
|
||||||
|
**mainnet**
|
||||||
|
Alias for *network=bitcoin*.
|
||||||
|
|
||||||
**testnet**
|
**testnet**
|
||||||
Alias for *network=testnet*.
|
Alias for *network=testnet*.
|
||||||
|
|
||||||
**signet**
|
**signet**
|
||||||
Alias for *network=signet*.
|
Alias for *network=signet*.
|
||||||
|
|
||||||
**mainnet**
|
|
||||||
Alias for *network=bitcoin*.
|
|
||||||
|
|
||||||
**bitcoin-cli**=*PATH*
|
**bitcoin-cli**=*PATH*
|
||||||
The name of *bitcoin-cli* executable to run.
|
The name of *bitcoin-cli* executable to run.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user