From b8c972a0e2dea71fa9a70aab4e408db87deaa988 Mon Sep 17 00:00:00 2001 From: Jan Sarenik Date: Thu, 15 Oct 2020 12:54:59 +0200 Subject: [PATCH] doc: Add missing signet to --help and man --- common/configdir.c | 4 ++-- devtools/gossipwith.c | 5 +++-- doc/lightningd-config.5 | 2 +- doc/lightningd-config.5.md | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/common/configdir.c b/common/configdir.c index e47777625..f6127132d 100644 --- a/common/configdir.c +++ b/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, NULL, "Select the network parameters (bitcoin, testnet," - " regtest, litecoin or litecoin-testnet)"); + " signet, regtest, litecoin or litecoin-testnet)"); opt_register_early_noarg("--testnet", opt_set_specific_network, "testnet", "Alias for --network=testnet"); @@ -437,7 +437,7 @@ void initial_config_opts(const tal_t *ctx, opt_restricted_toplevel, opt_show_network, NULL, "Select the network parameters (bitcoin, testnet," - " regtest, litecoin or litecoin-testnet)"); + " signet, regtest, litecoin or litecoin-testnet)"); opt_register_early_noarg("--testnet", opt_restricted_toplevel_noarg, NULL, "Alias for --network=testnet"); diff --git a/devtools/gossipwith.c b/devtools/gossipwith.c index e5a785606..7d9bd3568 100644 --- a/devtools/gossipwith.c +++ b/devtools/gossipwith.c @@ -279,8 +279,9 @@ int main(int argc, char *argv[]) &features, "Send these features in init"); opt_register_arg("--network", opt_set_network, opt_show_network, NULL, - "Select the network parameters (bitcoin, testnet, regtest" - " liquid, liquid-regtest, litecoin or litecoin-testnet)"); + "Select the network parameters (bitcoin, testnet, signet," + " regtest, liquid, liquid-regtest, litecoin or" + " litecoin-testnet)"); opt_register_noarg("--help|-h", opt_usage_and_exit, "id@addr[:port] [hex-msg-tosend...]\n" "Connect to a lightning peer and relay gossip messages from it", diff --git a/doc/lightningd-config.5 b/doc/lightningd-config.5 index 62fe46c35..e8dfdb4dd 100644 --- a/doc/lightningd-config.5 +++ b/doc/lightningd-config.5 @@ -64,7 +64,7 @@ Bitcoin control options: \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\. diff --git a/doc/lightningd-config.5.md b/doc/lightningd-config.5.md index d2f523eed..198ff6aa9 100644 --- a/doc/lightningd-config.5.md +++ b/doc/lightningd-config.5.md @@ -60,7 +60,7 @@ page. Bitcoin control options: **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. **testnet**