Skip to content

CommandlineProcessing::generateOptionList

Looks for inputPrefix prefixed options.

Synopsis

Declared in <commandlineProcessing/commandline_processing.h>

[[visibility]]
std::vector<std::string>
generateOptionList(
    std::vector<std::string> const& argList,
    std::string inputPrefix);

Description

Warning: As opposed to what the former documentation was saying this function doesn't modify argList.

Return Value

List of matched options.

Parameters

Name

Description

argList

Argument list.

inputPrefix

Option prefix to match.

Created with MrDocs