mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
allow --rpc-file option to change default value
short onliner as rustyrussel suggested
This commit is contained in:
parent
98372e4c0a
commit
7dcaf27bf5
@ -26,7 +26,7 @@ void configdir_register_opts(const tal_t *ctx,
|
||||
char **configdir, char **rpc_filename)
|
||||
{
|
||||
*configdir = default_configdir(ctx);
|
||||
*rpc_filename = "lightning-rpc";
|
||||
*rpc_filename = tal_strdup(ctx, "lightning-rpc");
|
||||
|
||||
opt_register_early_arg("--lightning-dir=<dir>", opt_set_talstr, opt_show_charp,
|
||||
configdir,
|
||||
|
Loading…
Reference in New Issue
Block a user