doc: reorder --mainnet before --testnet

This commit is contained in:
Jan Sarenik 2020-10-15 12:04:37 +02:00 committed by Christian Decker
parent b8c972a0e2
commit 2dd6b82dfb
3 changed files with 11 additions and 11 deletions

View file

@ -438,15 +438,15 @@ void initial_config_opts(const tal_t *ctx,
NULL,
"Select the network parameters (bitcoin, 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_restricted_toplevel_noarg, NULL,
"Alias for --network=testnet");
opt_register_early_noarg("--signet",
opt_restricted_toplevel_noarg, NULL,
"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. */
opt_register_early_arg("--allow-deprecated-apis",

View file

@ -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\.
\fBmainnet\fR
Alias for \fInetwork=bitcoin\fR\.
\fBtestnet\fR
Alias for \fInetwork=testnet\fR\.
@ -76,10 +80,6 @@ Alias for \fInetwork=testnet\fR\.
Alias for \fInetwork=signet\fR\.
\fBmainnet\fR
Alias for \fInetwork=bitcoin\fR\.
\fBbitcoin-cli\fR=\fIPATH\fR
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
the rest of the code is covered by the BSD-style MIT license\.
\" SHA256STAMP:9d72136e5abae6cb8f36899ebaeed6644ea566e95ec1a6f8b13cc911ed64a294
\" SHA256STAMP:6b275a3227db6565ad3c5369b95d3eefe9472864b8ed9e6c5c768981cdf23b8f

View file

@ -63,15 +63,15 @@ Bitcoin control options:
Select the network parameters (*bitcoin*, *testnet*, *signet*, or *regtest*).
This is not valid within the per-network configuration file.
**mainnet**
Alias for *network=bitcoin*.
**testnet**
Alias for *network=testnet*.
**signet**
Alias for *network=signet*.
**mainnet**
Alias for *network=bitcoin*.
**bitcoin-cli**=*PATH*
The name of *bitcoin-cli* executable to run.