Better command line error handling.