mirror of
https://github.com/falcosecurity/falco.git
synced 2025-07-31 06:01:52 +00:00
docs: add a comment on missing config files
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com>
This commit is contained in:
parent
335022076f
commit
12122729a4
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user