Index: /trunk/FACT++/src/chatclient.cc
===================================================================
--- /trunk/FACT++/src/chatclient.cc	(revision 10801)
+++ /trunk/FACT++/src/chatclient.cc	(revision 10802)
@@ -1,5 +1,4 @@
 #include <boost/filesystem.hpp>
 
-#include "FACT.h"
 #include "Configuration.h"
 #include "ChatClient.h"
@@ -82,26 +81,19 @@
         vm = conf.Parse(argc, argv);
     }
-    catch (std::exception &e)
+#if BOOST_VERSION > 104000
+    catch (po::multiple_occurrences &e)
     {
-#if BOOST_VERSION > 104000
-        po::multiple_occurrences *MO = dynamic_cast<po::multiple_occurrences*>(&e);
-        if (MO)
-            cout << "Error: " << e.what() << " of '" << MO->get_option_name() << "' option." << endl;
-        else
+        cerr << "Program options invalid due to: " << e.what() << " of '" << e.get_option_name() << "'." << endl;
+        return -1;
+    }
 #endif
-            cout << "Error: " << e.what() << endl;
-        cout << endl;
-
+    catch (exception& e)
+    {
+        cerr << "Program options invalid due to: " << e.what() << endl;
         return -1;
     }
 
-    if (conf.HasPrint())
+    if (conf.HasVersion() || conf.HasPrint())
         return -1;
-
-    if (conf.HasVersion())
-    {
-        FACT::PrintVersion(argv[0]);
-        return -1;
-    }
 
     if (conf.HasHelp())
Index: /trunk/FACT++/src/chatserv.cc
===================================================================
--- /trunk/FACT++/src/chatserv.cc	(revision 10801)
+++ /trunk/FACT++/src/chatserv.cc	(revision 10802)
@@ -4,5 +4,4 @@
 
 #include "Dim.h"
-#include "FACT.h"
 #include "EventImp.h"
 #include "WindowLog.h"
@@ -87,25 +86,16 @@
     catch (po::multiple_occurrences &e)
     {
-        cout << "Error: " << e.what() << " of '" << e.get_option_name() << "' option." << endl;
-        cout << endl;
+        cerr << "Program options invalid due to: " << e.what() << " of '" << e.get_option_name() << "'." << endl;
         return -1;
     }
 #endif
-    catch (std::exception &e)
+    catch (exception& e)
     {
-        cout << "Error: " << e.what() << endl;
-        cout << endl;
-
+        cerr << "Program options invalid due to: " << e.what() << endl;
         return -1;
     }
 
-    if (conf.HasPrint())
+    if (conf.HasVersion() || conf.HasPrint())
         return -1;
-
-    if (conf.HasVersion())
-    {
-        FACT::PrintVersion(argv[0]);
-        return -1;
-    }
 
     if (conf.HasHelp())
