]> source.dussan.org Git - tigervnc.git/commitdiff
Reporting build time in x0vncserver usage.
authorConstantin Kaplinsky <const@tightvnc.com>
Fri, 1 Dec 2006 10:54:55 +0000 (10:54 +0000)
committerConstantin Kaplinsky <const@tightvnc.com>
Fri, 1 Dec 2006 10:54:55 +0000 (10:54 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2163 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/x0vncserver/x0vncserver.cxx

index 6dd35517a24da9eeefbdcd208d87d13782d226e1..48be662ed8f1909cd7c915226645a984ab2c25cb 100644 (file)
@@ -54,6 +54,8 @@
 #include <sys/proto.h>
 #endif
 
+extern char buildtime[];
+
 using namespace rfb;
 using namespace network;
 
@@ -420,7 +422,8 @@ char* programName;
 
 static void usage()
 {
-  fprintf(stderr, "TightVNC Server version %s\n\n", VERSION);
+  fprintf(stderr, "TightVNC Server version %s, built %s\n\n",
+          VERSION, buildtime);
   fprintf(stderr, "Usage: %s [<parameters>]\n", programName);
   fprintf(stderr,"\n"
           "Parameters can be turned on with -<param> or off with -<param>=0\n"