Better error handling of bad commandline