better CLI output and exit code for invalid args