Read and interpret the configuration files.

Synopsis

Declared in <common/args.h>

[[nodiscard, requires_capability(0x7f2e381ac358)]]
bool
ReadConfigFiles(
    std::string& error,
    bool ignore_invalid_keys = false);

Return Value

true if the config files were read successfully.

Note

The return value should not be discarded.

Parameters

Name

Description

error

Populated with a message if reading fails.

ignore_invalid_keys

Skip unknown keys instead of failing.

Created with MrDocs