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

Return boolean argument or default value

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e381adae8)&rsqb;&rsqb;
bool
GetBoolArg(
    std::string const& strArg,
    bool fDefault) const;
----

== Return Value

command&hyphen;line argument or default value

== Parameters

[cols="1,4"]
|===
| Name| Description
| *strArg*
| Argument to get (e&period;g&period; &quot;&hyphen;foo&quot;)
| *fDefault*
| (true or false)
|===


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