[#BloombergLP-balcl-CommandLineOptionsHandle-index] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/CommandLineOptionsHandle.adoc[CommandLineOptionsHandle]::index :relfileprefix: ../../../ :mrdocs: Return the position in this handle object of the option having the specified `name`, and ‐1 if the handle has no option of that name. Note that, on success, the return values are in the range `[0 .. numOptions() ‐ 1]`. == Synopsis Declared in `<balcl_commandline.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int index(std::string_view const& name) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#