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

Return the `argv` offsets where the option with `name` was entered&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/vector-00d.adoc[bsl::vector&lt;int&gt;] const&
positions(std::string&lowbar;view const& name) const;
----

== Description

If the option was not specified, return an empty vector&period; Note that, in order to receive the valid positions, the command line must be successfully parsed&period;

== Return Value

`argv` offsets where the named option was entered

== Parameters

[cols="1,4"]
|===
| Name| Description
| *name*
| option name to look up
|===


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