Browse Source

doc: Add missing signet to --help and man

travis-experimental
Jan Sarenik 4 years ago
committed by Christian Decker
parent
commit
b8c972a0e2
  1. 4
      common/configdir.c
  2. 5
      devtools/gossipwith.c
  3. 2
      doc/lightningd-config.5
  4. 2
      doc/lightningd-config.5.md

4
common/configdir.c

@ -378,7 +378,7 @@ void initial_config_opts(const tal_t *ctx,
opt_register_early_arg("--network", opt_set_network, opt_show_network, opt_register_early_arg("--network", opt_set_network, opt_show_network,
NULL, NULL,
"Select the network parameters (bitcoin, testnet," "Select the network parameters (bitcoin, testnet,"
" regtest, litecoin or litecoin-testnet)"); " signet, regtest, litecoin or litecoin-testnet)");
opt_register_early_noarg("--testnet", opt_register_early_noarg("--testnet",
opt_set_specific_network, "testnet", opt_set_specific_network, "testnet",
"Alias for --network=testnet"); "Alias for --network=testnet");
@ -437,7 +437,7 @@ void initial_config_opts(const tal_t *ctx,
opt_restricted_toplevel, opt_show_network, opt_restricted_toplevel, opt_show_network,
NULL, NULL,
"Select the network parameters (bitcoin, testnet," "Select the network parameters (bitcoin, testnet,"
" regtest, litecoin or litecoin-testnet)"); " signet, regtest, litecoin or litecoin-testnet)");
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");

5
devtools/gossipwith.c

@ -279,8 +279,9 @@ int main(int argc, char *argv[])
&features, "Send these features in init"); &features, "Send these features in init");
opt_register_arg("--network", opt_set_network, opt_show_network, opt_register_arg("--network", opt_set_network, opt_show_network,
NULL, NULL,
"Select the network parameters (bitcoin, testnet, regtest" "Select the network parameters (bitcoin, testnet, signet,"
" liquid, liquid-regtest, litecoin or litecoin-testnet)"); " regtest, liquid, liquid-regtest, litecoin or"
" litecoin-testnet)");
opt_register_noarg("--help|-h", opt_usage_and_exit, opt_register_noarg("--help|-h", opt_usage_and_exit,
"id@addr[:port] [hex-msg-tosend...]\n" "id@addr[:port] [hex-msg-tosend...]\n"
"Connect to a lightning peer and relay gossip messages from it", "Connect to a lightning peer and relay gossip messages from it",

2
doc/lightningd-config.5

@ -64,7 +64,7 @@ Bitcoin control options:
\fBnetwork\fR=\fINETWORK\fR \fBnetwork\fR=\fINETWORK\fR
Select the network parameters (\fIbitcoin\fR, \fItestnet\fR, or \fIregtest\fR)\. Select the network parameters (\fIbitcoin\fR, \fItestnet\fR, \fIsignet\fR, or \fIregtest\fR)\.
This is not valid within the per-network configuration file\. This is not valid within the per-network configuration file\.

2
doc/lightningd-config.5.md

@ -60,7 +60,7 @@ page.
Bitcoin control options: Bitcoin control options:
**network**=*NETWORK* **network**=*NETWORK*
Select the network parameters (*bitcoin*, *testnet*, 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.
**testnet** **testnet**

Loading…
Cancel
Save