[#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. == Synopsis Declared in `<balcl_commandline.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/vector-00d.adoc[bsl::vector<int>] const& positions(std::string_view const& name) const; ---- == Description If the option was not specified, return an empty vector. Note that, in order to receive the valid positions, the command line must be successfully parsed. == 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]#