Skip to content

Feature arglist option aliases

Mark OLESEN requested to merge feature-arglist-option-aliases into develop

Allows migration of command-line options, with versioning to track the 'age' of the changes. Eg, if -decomposeParDict gets changed to something like -decompose-dict, but we still wish to accept the older name for it:

argList::addOptionCompat("decompose-dict", { "decomposeParDict", 1612});
argList::addOptionCompat("no-function-objects", {"noFunctionObjects", 1612});

This emits a warning about the option being out of date, but will rewrite it with the newer option name, which is what would be referenced internally.

Edited by Mark OLESEN

Merge request reports