Improvements on command line exceptions.