BloombergLP::balcl::CommandLine::positions

Return the positions where the option with the specified name has been entered on the command line (i.e., the offset in the argv argument to the parse method). 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.

Synopsis

Declared in <balcl_commandline.h>

bsl::vector<int> const&
positions(std::string_view const& name) const;