Handle wrong cli parameters
KvanTTT opened this issue · 0 comments
KvanTTT commented
- Reliable ignorance of unknown parameters.
- Type checking: ignore int parameter
--threads
with string valuestr
. - Remove duplicate parameters. Take the last one
-t 4
of duplicates-t 1 -t 4
.
After that, pass normalized parameters string to CommandLineParser.