Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ parseCommandLineOptions()

StringSeq Ice::Properties::parseCommandLineOptions ( std::string_view prefix,
const StringSeq & options )

Converts a sequence of command-line options into properties.

All options that start with --prefix. are converted into properties. If the prefix is empty, all options that begin with -- are converted to properties.

Parameters
prefixThe property prefix, or the empty string to convert all options starting with --.
optionsThe command-line options.
Returns
The command-line options that do not start with the specified prefix, in their original order.