mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 14:24:09 +01:00
Load defaults for purpose of help.
This commit is contained in:
parent
f0fa01b439
commit
7c09b6f478
1 changed files with 5 additions and 0 deletions
|
@ -584,6 +584,11 @@ bool handle_opts(struct lightningd *ld, int argc, char *argv[])
|
|||
{
|
||||
bool newdir = false;
|
||||
|
||||
/* Load defaults first, so that --help (in early options) has something
|
||||
* to display. The actual values loaded here, will be overwritten later
|
||||
* by opt_parse_from_config. */
|
||||
setup_default_config(ld);
|
||||
|
||||
/* Get any configdir/testnet options first. */
|
||||
opt_early_parse(argc, argv, opt_log_stderr_exit);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue