From eea92e2cfaa162462176c8b36d112954c8fee1e9 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 26 Mar 2019 10:17:41 +0100 Subject: [PATCH] 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. --- vncviewer/vncviewer.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) 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 " -- 2.39.5