From: Pierre Ossman Date: Tue, 26 Mar 2019 09:29:29 +0000 (+0100) Subject: Better document the argument for -geometry X-Git-Tag: v1.9.90~28 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=26cd3329413872647c288e4a0f237c70a342248b;p=tigervnc.git Better document the argument for -geometry It's not common knowledge these days how X geometry is specified, and even the man page X(7) is missing on many systems now. --- diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx index f9e58b90..d7cbd6e3 100644 --- a/vncviewer/vncviewer.cxx +++ b/vncviewer/vncviewer.cxx @@ -366,7 +366,8 @@ static void usage(const char *programName) 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"); + " -geometry geometry - Initial position of the main VNC viewer window. See the\n" + " man page for details.\n"); #endif fprintf(stderr,"\n" diff --git a/vncviewer/vncviewer.man b/vncviewer/vncviewer.man index 8762dfbd..ebfe7725 100644 --- a/vncviewer/vncviewer.man +++ b/vncviewer/vncviewer.man @@ -119,7 +119,11 @@ Specifies the X display on which the VNC viewer window should appear. . .TP .B \-geometry \fIgeometry\fP -Standard X position and sizing specification. +Initial position of the main VNC viewer window. The format is +.B \fIwidth\fPx\fIheight\fP+\fIxoffset\fP+\fIyoffset\fP +, where `+' signs can be replaced with `\-' signs to specify offsets from the +right and/or from the bottom of the screen. Offsets are optional and the +window will be placed by the window manager by default. . .TP .B \-listen \fI[port]\fP