diff options
author | Pierre Ossman <ossman@cendio.se> | 2019-03-26 10:17:41 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2019-03-26 10:24:10 +0100 |
commit | eea92e2cfaa162462176c8b36d112954c8fee1e9 (patch) | |
tree | 8ee1950f009e84c0ec9a0f11d14055b14c369f85 /vncviewer | |
parent | 44cf1d64ecf80c061c0a2b0f0167094e58782102 (diff) | |
download | tigervnc-eea92e2cfaa162462176c8b36d112954c8fee1e9.tar.gz tigervnc-eea92e2cfaa162462176c8b36d112954c8fee1e9.zip |
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.
Diffstat (limited to 'vncviewer')
-rw-r--r-- | vncviewer/vncviewer.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
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 -<param> or off with -<param>=0\n" "Parameters which take a value can be specified as " |