From: Pierre Ossman Date: Tue, 26 Mar 2019 09:17:41 +0000 (+0100) Subject: Show extra options in vncviewer --help X-Git-Tag: v1.9.90~29 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=eea92e2cfaa162462176c8b36d112954c8fee1e9;p=tigervnc.git Show extra options in vncviewer --help FLTK has some options (that we've also documented in the man page) that should be mentioned in the --help output. --- diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx index d2fe7e00..f9e58b90 100644 --- a/vncviewer/vncviewer.cxx +++ b/vncviewer/vncviewer.cxx @@ -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 - or off with -=0\n" "Parameters which take a value can be specified as "