sharkcz / rpms / tigervnc

Forked from rpms/tigervnc 4 years ago
Clone
02be0c7
diff --git a/unix/vncserver b/unix/vncserver
02be0c7
index c4d0535..08a9308 100755
02be0c7
--- a/unix/vncserver
02be0c7
+++ b/unix/vncserver
02be0c7
@@ -637,6 +637,7 @@ sub Usage
7d65892
 	"                 [-geometry <width>x<height>]\n".
7d65892
 	"                 [-pixelformat rgbNNN|bgrNNN]\n".
7d65892
 	"                 [-fp <font-path>]\n".
7d65892
+	"                 [-cc <visual>]\n".
7d65892
 	"                 [-fg]\n".
7d65892
 	"                 [-autokill]\n".
02be0c7
 	"                 [-noxstartup]\n".
02be0c7
diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx
02be0c7
index a2bc029..6923d0e 100644
02be0c7
--- a/vncviewer/vncviewer.cxx
02be0c7
+++ b/vncviewer/vncviewer.cxx
02be0c7
@@ -338,6 +338,11 @@ static void usage(const char *programName)
7d65892
           "       %s [parameters] -listen [port] [parameters]\n",
7d65892
           programName, programName);
7d65892
   fprintf(stderr,"\n"
7d65892
+	  "Options:\n\n"
7d65892
+	  "  -display Xdisplay - Specifies the X display for the viewer window\n"
7d65892
+	  "  -geometry geometry - Standard X position and sizing specification.\n");
7d65892
+
7d65892
+  fprintf(stderr,"\n"
7d65892
           "Parameters can be turned on with -<param> or off with -<param>=0\n"
7d65892
           "Parameters which take a value can be specified as "
7d65892
           "-<param> <value>\n"