Return the value of the option having the specified name.

Synopsis

Declared in <balcl_commandline.h>

char
theChar(std::string_view const& name) const;

Description

The behavior is undefined unless this command‐line object isParsed(), hasOption(name), OptionType::e_CHAR == type(name), and hasValue(name).

Return Value

value of the named option

Parameters

Name

Description

name

option name to look up

Created with MrDocs