bmwcarit / Emma

Emma Memory and Mapfile Analyser
GNU General Public License v3.0
5 stars 1 forks source link

Emma-vis --dir parameter handling #11

Closed KGergo88 closed 5 years ago

KGergo88 commented 5 years ago

The handling of the --dir parameter is quite strange in the Emma-vis:

TODO

holzkohlengrill commented 5 years ago

Implementation behaviour

  1. If only projectDir is given: I/O path = projectDir
  2. If projectDir and inOutDir is given: I/O path = inOutDir; projectDir = projectConfig
  3. If projectDir, inOutDir and subDir is given; I/O path = inOutDir + subDir; projectDir = projectConfig

Implementation details:

At the end of argument parsing inOutDir and subDir get deleted. There is an additional inOutDir which contains the resulting paths according to the rules stated above.

=====