[#BloombergLP-balcl-CommandLine-isSpecified-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/CommandLine.adoc[CommandLine]::isSpecified
:relfileprefix: ../../../
:mrdocs:

Return `true` if the option with `name` was entered on the command line&period;

== Synopsis

Declared in `&lt;balcl&lowbar;commandline&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
isSpecified(
    std::string&lowbar;view const& name,
    int* count) const;
----

== Description

Load into the specified `count` the number of times the option `name` has been entered on the command line&semi; otherwise, return `false` and leave `count` unaffected&period; Note that, in order to receive valid values, the command line must be successfully parsed&period;

== Return Value

`true` if the named option was entered on the command line, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *name*
| option name to query
| *count*
| loaded with the number of times `name` was entered
|===


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