Skip to content

Commit

Permalink
Show extra options in vncviewer --help
Browse files Browse the repository at this point in the history
FLTK has some options (that we've also documented in the man page)
that should be mentioned in the --help output.
  • Loading branch information
CendioOssman committed Mar 26, 2019
1 parent 44cf1d6 commit eea92e2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions vncviewer/vncviewer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit eea92e2

Please sign in to comment.