Akumuli icon indicating copy to clipboard operation
Akumuli copied to clipboard

"akumulid init" doesn't work without a pre-existing config file

Open smurfix opened this issue 4 years ago • 1 comments

Requiring a config file in order to write a config file seems … sub-optimal.

akumulid --config /tmp/test.cfg init
log4cxx: No appender could be found for logger (main).
log4cxx: Please initialize the log4cxx system properly.
FAILURE can't read config file "/tmp/test.cfg"

smurfix avatar Jun 26 '20 08:06 smurfix

This should work: akumulid --config=/tmp/foo.cfg --init. Why boost.program_options doesn't complain about unknown argument is beyond me. I'll try to fix error reporting in such cases.

Lazin avatar Jul 02 '20 09:07 Lazin