[#ArgsManager-ReadConfigFiles]
= xref:ArgsManager.adoc[ArgsManager]::ReadConfigFiles
:relfileprefix: ../
:mrdocs:

Read and interpret the configuration files&period;

== Synopsis

Declared in `&lt;common&sol;args&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard, requires&lowbar;capability(0x7f9524a216f8)&rsqb;&rsqb;
bool
ReadConfigFiles(
    std::string& error,
    bool ignore&lowbar;invalid&lowbar;keys = false);
----

== Return Value

true if the config files were read successfully&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *error*
| Populated with a message if reading fails&period;
| *ignore&lowbar;invalid&lowbar;keys*
| Skip unknown keys instead of failing&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
