Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 426
    • Issues 426
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Merge requests
  • !172

Feature arglist option aliases

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mark OLESEN requested to merge feature-arglist-option-aliases into develop Nov 22, 2017
  • Overview 4
  • Commits 1
  • Changes 6

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 Nov 23, 2017 by Mark OLESEN
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature-arglist-option-aliases