BloombergLP::balcl::CommandLine::hasOption

Return true if this command-line object is configured with an option having the specified name, and false otherwise.

Synopsis

Declared in <balcl_commandline.h>

bool
hasOption(std::string_view const& name) const;

Return Value

true if an option with name is configured, and false otherwise

Parameters

NameDescription
nameoption name to look up