Cmdline enhanced

Fixes #1111, now failing if unknown / invalid arguments are detected.