https://github.com/szaghi/FLAP
Revision d2c3be916a978b717048c1a77d486f8b6e0c0992 authored by Stefano Zaghi on 05 February 2020, 16:04:24 UTC, committed by Stefano Zaghi on 05 February 2020, 16:06:18 UTC
(Merge branch 'release/1.2.1')

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.
2 parent s 88488c8 + 2ced75a
History
Tip revision: d2c3be916a978b717048c1a77d486f8b6e0c0992 authored by Stefano Zaghi on 05 February 2020, 16:04:24 UTC
Add ignore passed unknown CLAs, fix issue#82
Tip revision: d2c3be9
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.9 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

README.md

back to top