From f4986f4cebe393c124f792710542bba0b3eb4dc0 Mon Sep 17 00:00:00 2001 From: Constantin Kaplinsky Date: Fri, 2 Jun 2006 10:49:03 +0000 Subject: [PATCH] Changes in reporting version numbers and copyrights. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@628 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- unix/README | 2 +- unix/vncviewer/vncviewer.cxx | 6 +++--- unix/x0vncserver/x0vncserver.cxx | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/unix/README b/unix/README index 2b2fd807..c9982179 100644 --- a/unix/README +++ b/unix/README @@ -3,7 +3,7 @@ TightVNC Source Distribution for Unix platforms =============================================== Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved. -Copyright (C) 2000-2004 Constantin Kaplinsky. +Copyright (C) 2000-2006 TightVNC Group Copyright (C) 2004-2005 Peter Astrand, Cendio AB This software is distributed under the GNU General Public Licence as diff --git a/unix/vncviewer/vncviewer.cxx b/unix/vncviewer/vncviewer.cxx index e9c9ac4c..0d732fff 100644 --- a/unix/vncviewer/vncviewer.cxx +++ b/unix/vncviewer/vncviewer.cxx @@ -267,12 +267,12 @@ int main(int argc, char** argv) textdomain(PACKAGE); snprintf(aboutText, sizeof(aboutText), - _("TightVNC viewer for X version 1.5 - built %s\n" + _("TightVNC Viewer for X version %s - built %s\n" "Copyright (C) 2002-2005 RealVNC Ltd.\n" - "Copyright (C) 2000-2004 Constantin Kaplinsky\n" + "Copyright (C) 2000-2006 TightVNC Group\n" "Copyright (C) 2004-2005 Peter Astrand, Cendio AB\n" "See http://www.tightvnc.com for information on TightVNC."), - buildtime); + VERSION, buildtime); fprintf(stderr,"\n%s\n", aboutText); bind_textdomain_codeset(PACKAGE, "iso-8859-1"); diff --git a/unix/x0vncserver/x0vncserver.cxx b/unix/x0vncserver/x0vncserver.cxx index 96240ea1..6dd35517 100644 --- a/unix/x0vncserver/x0vncserver.cxx +++ b/unix/x0vncserver/x0vncserver.cxx @@ -420,7 +420,8 @@ char* programName; static void usage() { - fprintf(stderr, "\nusage: %s []\n", programName); + fprintf(stderr, "TightVNC Server version %s\n\n", VERSION); + fprintf(stderr, "Usage: %s []\n", programName); fprintf(stderr,"\n" "Parameters can be turned on with - or off with -=0\n" "Parameters which take a value can be specified as " -- 2.39.5