summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-21 23:13:03 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-21 23:13:03 -0800
commit1b9a3d5459f61abf6285df81e4a75cb472e2a40c (patch)
tree27b88c0dfbccd6a84900e13d35bef28f7aae6898 /man
parent27c57ec56abbd175c7a3ea7c50d85e91e1940c87 (diff)
Add -version option to print version number
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'man')
-rw-r--r--man/xdpyinfo.man4
1 files changed, 4 insertions, 0 deletions
diff --git a/man/xdpyinfo.man b/man/xdpyinfo.man
index 6dfc789..86f2a02 100644
--- a/man/xdpyinfo.man
+++ b/man/xdpyinfo.man
@@ -30,6 +30,7 @@ xdpyinfo \- display information utility for X
[\-display \fIdisplayname\fP]
[\-queryExtensions]
[\-ext \fIextension-name\fP]
+[-version]
.SH DESCRIPTION
.PP
.I Xdpyinfo
@@ -49,6 +50,9 @@ Detailed information about a particular extension is displayed with the
\fB\-ext\fP \fIextensionName\fP option. If \fIextensionName\fP is
\fBall\fP, information about all extensions supported by both \fIxdpyinfo\fP
and the server is displayed.
+.PP
+If \fB-version\fP is specified, xdpyinfo prints its version and exits, without
+contacting the X server.
.SH ENVIRONMENT
.PP
.TP 8