From 8212ce04cafa89e0a3f3b46e7fb2940548e08214 Mon Sep 17 00:00:00 2001 From: pixel Date: Wed, 19 Mar 2003 17:03:54 +0000 Subject: I am the dumbest... --- src/Main.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Main.cc') diff --git a/src/Main.cc b/src/Main.cc index 22534c1..e945075 100644 --- a/src/Main.cc +++ b/src/Main.cc @@ -22,6 +22,7 @@ #include "CopyJob.h" #include "IRC.h" #include "Main.h" +#include "gettext.h" InPipe * in; @@ -178,7 +179,7 @@ int startup() throw (GeneralException) { std::cout.flush(); (*in) >> r; if (r != "poide") { - std::cerr << "The stdout redirect has failed.\n"; + printm(M_ERROR, "The stdout redirect has failed.\n"); exit(-1); } @@ -188,7 +189,7 @@ int startup() throw (GeneralException) { port = optarg; break; default: - std::cerr << "Usage: " << argv[0] << " [-p port]\n"; + printm(M_BARE, String(_("Usage: ")) + argv[0] + " [-p port]\n"); exit(-1); } } -- cgit v1.2.3