Open illwieckz opened 2 years ago
Same with ./daemon -v
.
That's weird because the code relies on basic printf
.
Also the code seems to run as other command line options like the -connect
action is working.
It prints things correctly if I replace printf
by Log::Notice
, even with -curses
(it's probably too early to get this printed into the curses console and then wiped out at exiting).
Also I was afraid that by using Log::Notice
the help message gets written in daemon.log
but this is indeed too early (because the homepath is not known yest since it's expected to be modifiable there).
daemon --help
only prints help in interactive terminals: