Fixed errors when parsing long options, made the program quit on parsing options error