Changeset 11578 for trunk/FACT++/src/mcp.cc
- Timestamp:
- 07/24/11 21:20:34 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/mcp.cc
r11577 r11578 478 478 Main::SetupConfiguration(conf); 479 479 480 po::variables_map vm; 481 try 482 { 483 vm = conf.Parse(argc, argv); 484 } 485 #if BOOST_VERSION > 104000 486 catch (po::multiple_occurrences &e) 487 { 488 cerr << "Program options invalid due to: " << e.what() << " of '" << e.get_option_name() << "'." << endl; 480 if (!conf.DoParse(argc, argv, PrintHelp)) 489 481 return -1; 490 }491 #endif492 catch (exception& e)493 {494 cerr << "Program options invalid due to: " << e.what() << endl;495 return -1;496 }497 498 if (conf.HasVersion() || conf.HasPrint())499 return -1;500 501 if (conf.HasHelp())502 {503 PrintHelp();504 return -1;505 }506 482 507 483 //try
Note:
See TracChangeset
for help on using the changeset viewer.