mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-05 23:24:21 +01:00
lightningd: annotate configuration settings which contain JSON literals.
We have hacky code to show some listconfigs values as literals; instead explicitly encode the types. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -736,9 +736,10 @@ void opt_register_logging(struct lightningd *ld)
|
||||
opt_register_early_arg("--log-level",
|
||||
opt_log_level, show_log_level, ld->log,
|
||||
"log level (io, debug, info, unusual, broken) [:prefix]");
|
||||
opt_register_early_arg("--log-timestamps",
|
||||
opt_set_bool_arg, opt_show_bool, &ld->log->lr->print_timestamps,
|
||||
"prefix log messages with timestamp");
|
||||
clnopt_witharg("--log-timestamps", OPT_EARLY|OPT_SHOWBOOL,
|
||||
opt_set_bool_arg, opt_show_bool,
|
||||
&ld->log->lr->print_timestamps,
|
||||
"prefix log messages with timestamp");
|
||||
opt_register_early_arg("--log-prefix", arg_log_prefix, show_log_prefix,
|
||||
ld->log_book,
|
||||
"log prefix");
|
||||
|
||||
Reference in New Issue
Block a user