Fixed bug in _display_log when receiving GetoptErrors.