summaryrefslogtreecommitdiffstats
path: root/x11vnc/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/help.c')
-rw-r--r--x11vnc/help.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/x11vnc/help.c b/x11vnc/help.c
index ba744ee..37b9a11 100644
--- a/x11vnc/help.c
+++ b/x11vnc/help.c
@@ -140,6 +140,11 @@ void print_help(int mode) {
" a colormap histogram. Example: -shiftcmap 240\n"
"-notruecolor For 8bpp displays, force indexed color (i.e. a colormap)\n"
" even if it looks like 8bpp TrueColor (rare problem).\n"
+"-advertise_truecolor If the X11 display is indexed color, lie to clients\n"
+" when they first connect by telling them it is truecolor.\n"
+" To workaround RealVNC: inPF has colourMap but not 8bpp\n"
+" Use '-advertise_truecolor reset' to reset client fb too.\n"
+"\n"
"-visual n This option probably does not do what you think.\n"
" It simply *forces* the visual used for the framebuffer;\n"
" this may be a bad thing... (e.g. messes up colors or\n"
@@ -147,8 +152,10 @@ void print_help(int mode) {
" workarounds. n may be a decimal number, or 0x hex.\n"
" Run xdpyinfo(1) for the values. One may also use\n"
" \"TrueColor\", etc. see <X11/X.h> for a list. If the\n"
-" string ends in \":m\" then for better or for worse the\n"
-" visual depth is forced to be m.\n"
+" string ends in \":m\" then for better or for worse\n"
+" the visual depth is forced to be m. You may want to\n"
+" use -noshm when using this option (so XGetImage may\n"
+" automatically translate the pixel data).\n"
"\n"
"-overlay Handle multiple depth visuals on one screen, e.g. 8+24\n"
" and 24+8 overlay visuals (the 32 bits per pixel are\n"
OpenPOWER on IntegriCloud