Function: parseSomeBenchmarkParameters
▸ parseSomeBenchmarkParameters(params
, usage?
, args?
): string
[]
Parses benchmark parameters from command line arguments and returns an array of unrecognized arguments.
Parameters
Name | Type | Description |
---|---|---|
params | BenchmarkParameters | Input/output argument. Contains default values of parameters that will be overridden by command line arguments. |
usage? | string | Usage string that will be printed when -h or --help is specified on the command line. The specified usage is followed by description of supported benchmark and solver parameters. |
args | string [] | Command line arguments to parse. When not specified, process.argv.slice(2) is used. |
Returns
string
[]
An array of unrecognized arguments.
Functionally, this function is the same as parseBenchmarkParameters, however does not exit the application in case of an unrecognized argument. Instead it returns an array of unrecognized arguments.
See
- parseBenchmarkParameters for more details.
- parseParameters, parseSomeParameters for parsing only solver parameters.