https://github.com/szaghi/FLAP
Revision 4f806e5d0cf34b5d6dcca16cc1fa957700f6afaf authored by Stefano Zaghi on 05 February 2020, 15:51:21 UTC, committed by Stefano Zaghi on 05 February 2020, 15:51:21 UTC
The CLI can now be initialized with a flag for ignoring the passed CLAs that are unknown. An error is still echoed, but the CLI parsing goes on until the end without exit the flow. By default a passed unknown CLA raises a blocking error as in the previous verions. This change addresses the need by: add a new option to `init` method of CLI object, e.g. call cli%init(..., ignore_unknown_clas=.true.) A dedicated test has been added, i.e. `src/test/flap_test_ignore_unknown_clas.f90` Side effects: Nothing.
1 parent 88488c8
Tip revision: 4f806e5d0cf34b5d6dcca16cc1fa957700f6afaf authored by Stefano Zaghi on 05 February 2020, 15:51:21 UTC
Add ignore passed unknown CLAs, fix issue#82
Add ignore passed unknown CLAs, fix issue#82
Tip revision: 4f806e5
File | Mode | Size |
---|---|---|
cmake | ||
doc | ||
scripts | ||
src | ||
.gitignore | -rw-r--r-- | 298 bytes |
.gitmodules | -rw-r--r-- | 397 bytes |
.travis.yml | -rw-r--r-- | 1.6 KB |
CMakeLists.txt | -rw-r--r-- | 2.5 KB |
CONTRIBUTING.md | -rw-r--r-- | 3.6 KB |
LICENSE.bsd-2.md | -rw-r--r-- | 1.5 KB |
LICENSE.bsd-3.md | -rw-r--r-- | 1.5 KB |
LICENSE.gpl3.md | -rw-r--r-- | 34.4 KB |
LICENSE.mit.md | -rw-r--r-- | 1.1 KB |
README.md | -rw-r--r-- | 18.9 KB |
codecov.yml | -rw-r--r-- | 43 bytes |
fobos | -rw-r--r-- | 6.0 KB |
makefile | -rw-r--r-- | 5.5 KB |
Computing file changes ...