Skip to content
Snippets Groups Projects

Feature arglist option aliases

Merged 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

Checking approval status

Merged by Mark OLESENMark OLESEN 7 years ago (Nov 23, 2017 9:27am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply