SVN Commit by dpage: r4235 - trunk/pgadmin3/xtra/pgagent - Mailing list pgadmin-hackers

From svn@pgadmin.org
Subject SVN Commit by dpage: r4235 - trunk/pgadmin3/xtra/pgagent
Date
Msg-id 200505231515.j4NFF4c4027083@developer.pgadmin.org
Whole thread Raw
List pgadmin-hackers
Author: dpage
Date: 2005-05-23 16:15:04 +0100 (Mon, 23 May 2005)
New Revision: 4235

Modified:
   trunk/pgadmin3/xtra/pgagent/unix.cpp
Log:
Doh - nuvver typo

Modified: trunk/pgadmin3/xtra/pgagent/unix.cpp
===================================================================
--- trunk/pgadmin3/xtra/pgagent/unix.cpp    2005-05-23 15:12:09 UTC (rev 4234)
+++ trunk/pgadmin3/xtra/pgagent/unix.cpp    2005-05-23 15:15:04 UTC (rev 4235)
@@ -14,18 +14,18 @@
 #ifdef WIN32
 #error this file is for unix only!
 #endif
-
-#include <wx/filename.h>
-#include <fcntl.h>

+#include <wx/filename.h>
+#include <fcntl.h>
+
 void usage(const wxString &executable)
 {
     wxFileName *fn = new wxFileName(executable);

     wxPrintf(_("Usage:\n"));
     wxPrintf(fn->GetName() + _(" [options] <connect-string>\n"));
-    wxPrintf(_("options:\n"));
-    wxPrintf(_("-f run in the foreground (do not detach from the terminal)\n"));
+    wxPrintf(_("options:\n"));
+    wxPrintf(_("-f run in the foreground (do not detach from the terminal)\n"));
     wxPrintf(_("-t <poll time interval in seconds (default 10)>\n"));
     wxPrintf(_("-r <retry period after connection abort in seconds (>=10, default 30)>\n"));
     wxPrintf(_("-l <logging verbosity (ERROR=0, WARNING=1, DEBUG=2, default 0)>\n"));
@@ -93,8 +93,8 @@
     argv++;

     setOptions(argc, argv);
-
-    if (!runInForeground);
+
+    if (!runInForeground)
         daemonize();

     MainLoop();


pgadmin-hackers by date:

Previous
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r4234 - trunk/pgadmin3/xtra/pgagent
Next
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r4236 - in trunk/pgadmin3/xtra/pgagent: . include