diff options
author | Pierre Ossman <ossman@cendio.se> | 2019-03-26 10:29:29 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2019-03-26 10:29:29 +0100 |
commit | 26cd3329413872647c288e4a0f237c70a342248b (patch) | |
tree | 309254a2dd89fefb749b6105991b026e87f9a1fc /vncviewer | |
parent | eea92e2cfaa162462176c8b36d112954c8fee1e9 (diff) | |
download | tigervnc-26cd3329413872647c288e4a0f237c70a342248b.tar.gz tigervnc-26cd3329413872647c288e4a0f237c70a342248b.zip |
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.
Diffstat (limited to 'vncviewer')
-rw-r--r-- | vncviewer/vncviewer.cxx | 3 | ||||
-rw-r--r-- | vncviewer/vncviewer.man | 6 |
2 files changed, 7 insertions, 2 deletions
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 |