Return the position of the option having the specified name.
Synopsis
Declared in <balcl_commandline.h>
int
index(std::string_view const& name) const;
Description
Return ‐1 if the handle has no option of that name. Note that, on success, the return values are in the range [0 .. numOptions() ‐ 1].
Return Value
position of the named option, or ‐1 if not found
Parameters
Name |
Description |
name |
option name to look up |
Created with MrDocs