Return the position of the option having the specified name.
Declared in <balcl_commandline.h>
int
index(std::string_view const& name) const;
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].
position of the named option, or -1 if not found
| Name | Description |
|---|---|
| name | option name to look up |