if ( OPT_MessageName . empty( ) ) { cerr << "ERROR: The -m option is mandatory\n"; errflg ++; }
void ParseArgs (int argc, char ** argv){  int ch, errflg = 0;  optarg = NULL;  while ( !errflg && ((ch = getopt (argc, argv, "hm:")) != EOF) )    switch (ch)      {      case 'h':	PrintHelp (argv[0]);	exit (EXIT_SUCCESS);	break;      case 'm':	OPT_MessageName = optarg;	break;      default:	errflg ++;      }  if ( errflg > 0 )    {      PrintUsage (argv[0]);      cerr << "Try '" << argv[0] << " -h' for more information.\n";      exit (EXIT_FAILURE);    }  while ( optind != argc )    {      try {	OPT_ExtractCodes . insert (Encode (argv [optind ++]), 1);      }      catch (Exception_t & e) {	cerr << "WARNING: " << e . what( )	     << " - NCode " << argv [optind - 1] << " ignored" << endl;      }    }}