Skip to content

CommandlineProcessing::removeAllFileNamesExcept

Remove file names specified in filenameList from argv.

Synopsis

Declared in <commandlineProcessing/commandline_processing.h>

[[visibility]]
void
removeAllFileNamesExcept(
    std::vector<std::string>& argv,
    std::vector<std::string> filenameList,
    std::string exceptFilename);

Parameters

Name

Description

argv

Argument vector to edit.

filenameList

File names to remove.

exceptFilename

File name to keep.

Created with MrDocs