docs: add a comment on missing config files

Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com>
This commit is contained in:
Andrea Terzolo 2023-11-19 00:17:25 +01:00 committed by poiana
parent 335022076f
commit 12122729a4

View File

@ -86,6 +86,9 @@ falco::app::run_result falco::app::actions::load_config(falco::app::state& s)
}
else
{
// Is possible to have an empty config file when we want to use some command line
// options like `--help`, `--version`, ...
// The configs used in `load_yaml` will be initialized to the default values.
s.config->init(s.options.cmdline_config_options);
}
}