Skip to content

CommandlineProcessing::removeArgs

Remove all options matching a specified prefix.

Synopsis

Declared in <commandlineProcessing/commandline_processing.h>

[[visibility]]
void
removeArgs(
    std::vector<std::string>& argv,
    std::string prefix);

Parameters

Name

Description

argv

Argument vector to edit.

prefix

Prefix to remove.

Created with MrDocs