[#HasTestOption]
= HasTestOption
:mrdocs:

Checks if a particular test option is present in &hyphen;test command&hyphen;line arg options

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
HasTestOption(
    xref:ArgsManager.adoc[ArgsManager] const& args,
    std::string const& test&lowbar;option);
----

== Return Value

true if the test option was specified&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *args*
| The argument manager to inspect&period;
| *test&lowbar;option*
| The test option name to look for&period;
|===


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