Handling and parsing the getopt errors