]> source.dussan.org Git - tigervnc.git/commitdiff
Show extra options in vncviewer --help
authorPierre Ossman <ossman@cendio.se>
Tue, 26 Mar 2019 09:17:41 +0000 (10:17 +0100)
committerPierre Ossman <ossman@cendio.se>
Tue, 26 Mar 2019 09:24:10 +0000 (10:24 +0100)
FLTK has some options (that we've also documented in the man page)
that should be mentioned in the --help output.

vncviewer/vncviewer.cxx

index d2fe7e009b95873b072b3ccebd17cfc92346cc58..f9e58b90feee495bfff42958cf639d51bc07c622 100644 (file)
@@ -361,6 +361,14 @@ static void usage(const char *programName)
           programName,
 #endif
           programName, programName);
+
+#if !defined(WIN32) && !defined(__APPLE__)
+  fprintf(stderr,"\n"
+          "Options:\n\n"
+          "  -display Xdisplay  - Specifies the X display for the viewer window\n"
+          "  -geometry geometry - Standard X position and sizing specification.\n");
+#endif
+
   fprintf(stderr,"\n"
           "Parameters can be turned on with -<param> or off with -<param>=0\n"
           "Parameters which take a value can be specified as "