xdpyinfo -version (return code: 0)
xdpyinfo 1.3.2
xdpyinfo --help (return code: 1)
xdpyinfo: unrecognized argument '--help'
usage: xdpyinfo [options]
-display displayname server to query
-version print program version and exit
-queryExtensions print info returned by XQueryExtension
-ext all print detailed info for all supported extensions
-ext extension-name print detailed info for extension-name if one of:
MIT-SHM XKEYBOARD Multi-Buffering SHAPE SYNC XFree86-DGA
XFree86-VidModeExtension XTEST DOUBLE-BUFFER RECORD XInputExtension
RENDER Composite XINERAMA