Changeset 11578 for trunk/FACT++/src/ftmctrl.cc
- Timestamp:
- 07/24/11 21:20:34 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ftmctrl.cc
r11577 r11578 2444 2444 SetupConfiguration(conf); 2445 2445 2446 po::variables_map vm; 2447 try 2448 { 2449 vm = conf.Parse(argc, argv); 2450 } 2451 #if BOOST_VERSION > 104000 2452 catch (po::multiple_occurrences &e) 2453 { 2454 cerr << "Program options invalid due to: " << e.what() << " of '" << e.get_option_name() << "'." << endl; 2446 if (!conf.DoParse(argc, argv, PrintHelp)) 2455 2447 return -1; 2456 }2457 #endif2458 catch (exception& e)2459 {2460 cerr << "Program options invalid due to: " << e.what() << endl;2461 return -1;2462 }2463 2464 if (conf.HasVersion() || conf.HasPrint())2465 return -1;2466 2467 if (conf.HasHelp())2468 {2469 PrintHelp();2470 return -1;2471 }2472 2448 2473 2449 //try
Note:
See TracChangeset
for help on using the changeset viewer.