Index: trunk/FACT++/gui/fact.cc
===================================================================
--- trunk/FACT++/gui/fact.cc	(revision 11576)
+++ trunk/FACT++/gui/fact.cc	(revision 11578)
@@ -51,30 +51,6 @@
     SetupConfiguration(conf);
 
-    po::variables_map vm;
-    try
-    {
-        vm = conf.Parse(argc, argv);
-    }
-#if BOOST_VERSION > 104000
-    catch (po::multiple_occurrences &e)
-    {
-        cerr << "Program options invalid due to: " << e.what() << " of '" << e.get_option_name() << "'." << endl;
+    if (!conf.DoParse(argc, argv, PrintHelp))
         return -1;
-    }
-#endif
-    catch (exception& e)
-    {
-        cerr << "Program options invalid due to: " << e.what() << endl;
-        return -1;
-    }
-
-    if (conf.HasVersion() || conf.HasPrint())
-        return -1;
-
-    if (conf.HasHelp())
-    {
-        PrintHelp();
-        return -1;
-    }
 
     Dim::Setup(conf.Get<string>("dns"), conf.Get<string>("host"));
