Improving error handling during command line analysis