Fixes #2 Malformed command-line parameters produce a runtime error