summaryrefslogtreecommitdiffstats
path: root/unix/x0vncserver
diff options
context:
space:
mode:
authorConstantin Kaplinsky <const@tightvnc.com>2006-12-01 10:54:55 +0000
committerConstantin Kaplinsky <const@tightvnc.com>2006-12-01 10:54:55 +0000
commitb96327061d4c49f6c8c38c22e05b4b886e9b9c1e (patch)
treebb6f590737b31525652b3e938e6c2c291a441f91 /unix/x0vncserver
parentea974d797692c72c50e4d97f10d4e35fbc3e1f83 (diff)
downloadtigervnc-b96327061d4c49f6c8c38c22e05b4b886e9b9c1e.tar.gz
tigervnc-b96327061d4c49f6c8c38c22e05b4b886e9b9c1e.zip
Reporting build time in x0vncserver usage.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2163 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/x0vncserver')
-rw-r--r--unix/x0vncserver/x0vncserver.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/unix/x0vncserver/x0vncserver.cxx b/unix/x0vncserver/x0vncserver.cxx
index 6dd35517..48be662e 100644
--- a/unix/x0vncserver/x0vncserver.cxx
+++ b/unix/x0vncserver/x0vncserver.cxx
@@ -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"