Browse Source

Reporting build time in x0vncserver usage.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2163 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v0.0.90
Constantin Kaplinsky 17 years ago
parent
commit
b96327061d
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      unix/x0vncserver/x0vncserver.cxx

+ 4
- 1
unix/x0vncserver/x0vncserver.cxx View 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"

Loading…
Cancel
Save