Update man pages for #217
This commit is contained in:
parent
12e5b25e62
commit
7186c70bdc
|
@ -1,4 +1,4 @@
|
||||||
.TH dcd-client 1 "Oct 30 2015" "" https://github.com/Hackerpilot/DCD
|
.TH dcd-client 1 "Jan 15 2016" "" https://github.com/Hackerpilot/DCD
|
||||||
.SH NAME
|
.SH NAME
|
||||||
dcd-client \- autocompletion client for the D programming language
|
dcd-client \- autocompletion client for the D programming language
|
||||||
.PD
|
.PD
|
||||||
|
@ -6,6 +6,8 @@ dcd-client \- autocompletion client for the D programming language
|
||||||
.SY dcd-client
|
.SY dcd-client
|
||||||
.OP "\-c, \-\-cursorPos" cursorPosition
|
.OP "\-c, \-\-cursorPos" cursorPosition
|
||||||
.OP "\-p, \-\-port" portNumber
|
.OP "\-p, \-\-port" portNumber
|
||||||
|
.OP \-\-tcp
|
||||||
|
.OP \-\-socketFile filePath
|
||||||
.OP "\-I" directory
|
.OP "\-I" directory
|
||||||
.OP "\-h, \-\-help"
|
.OP "\-h, \-\-help"
|
||||||
.OP "\-l, \-\-symbolLocation"
|
.OP "\-l, \-\-symbolLocation"
|
||||||
|
@ -34,7 +36,20 @@ position is measured in bytes from the beginning of the source code.
|
||||||
.RS
|
.RS
|
||||||
Choose the port number on which
|
Choose the port number on which
|
||||||
.B dcd-client
|
.B dcd-client
|
||||||
listens.
|
listens. This has no effect unless
|
||||||
|
.B dcd-client
|
||||||
|
is being run on Windows or the \-\-tcp switch is used.
|
||||||
|
.RE
|
||||||
|
.B \-\-tcp
|
||||||
|
.RS
|
||||||
|
Listen on a TCP socket instead of a UNIX domain socket. This is the default on
|
||||||
|
Windows.
|
||||||
|
.RE
|
||||||
|
.B \-\-socketFile
|
||||||
|
.I filePath
|
||||||
|
.RS
|
||||||
|
Set the path to use for the UNIX domain socket. Has no effect if the \-\-tcp
|
||||||
|
switch is used.
|
||||||
.RE
|
.RE
|
||||||
.B \-I
|
.B \-I
|
||||||
.I directory
|
.I directory
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.TH dcd-server 1 "Oct 30 2015" "" https://github.com/Hackerpilot/DCD
|
.TH dcd-server 1 "Jan 15 2016" "" https://github.com/Hackerpilot/DCD
|
||||||
.SH NAME
|
.SH NAME
|
||||||
dcd-server \- autocompletion server for the D programming language
|
dcd-server \- autocompletion server for the D programming language
|
||||||
.PD
|
.PD
|
||||||
|
@ -6,6 +6,8 @@ dcd-server \- autocompletion server for the D programming language
|
||||||
.SY dcd-server
|
.SY dcd-server
|
||||||
.OP \-I directory
|
.OP \-I directory
|
||||||
.OP \-p|\-\-port portNumber
|
.OP \-p|\-\-port portNumber
|
||||||
|
.OP \-\-tcp
|
||||||
|
.OP \-\-socketFile filePath
|
||||||
.OP \-\-logLevel level
|
.OP \-\-logLevel level
|
||||||
.OP \-h|\-\-help
|
.OP \-h|\-\-help
|
||||||
.OP \-\-version
|
.OP \-\-version
|
||||||
|
@ -20,7 +22,20 @@ dcd-server \- autocompletion server for the D programming language
|
||||||
.RS
|
.RS
|
||||||
Choose the port number on which
|
Choose the port number on which
|
||||||
.B dcd-server
|
.B dcd-server
|
||||||
listens.
|
listens. This has no effect unless
|
||||||
|
.B dcd-server
|
||||||
|
is being run on Windows or the \-\-tcp switch is used.
|
||||||
|
.RE
|
||||||
|
.B \-\-tcp
|
||||||
|
.RS
|
||||||
|
Listen on a TCP socket instead of a UNIX domain socket. This is the default on
|
||||||
|
Windows.
|
||||||
|
.RE
|
||||||
|
.B \-\-socketFile
|
||||||
|
.I filePath
|
||||||
|
.RS
|
||||||
|
Set the path to use for the UNIX domain socket. Has no effect if the \-\-tcp
|
||||||
|
switch is used.
|
||||||
.RE
|
.RE
|
||||||
.B \-\-logLevel
|
.B \-\-logLevel
|
||||||
.I level
|
.I level
|
||||||
|
@ -60,10 +75,10 @@ This file should be placed in one of the following locations:
|
||||||
.I /etc/dcd.conf
|
.I /etc/dcd.conf
|
||||||
.RE
|
.RE
|
||||||
.IP \(bu
|
.IP \(bu
|
||||||
.I $XDG_CONFIG_HOME/dcd/dcd.conf
|
.I ${XDG_CONFIG_HOME}/dcd/dcd.conf
|
||||||
.RE
|
.RE
|
||||||
.IP \(bu
|
.IP \(bu
|
||||||
.I $HOME/.config/dcd/dcd.conf
|
.I ${HOME}/.config/dcd/dcd.conf
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
Each line in the file should be a path to search for D source files. A line in
|
Each line in the file should be a path to search for D source files. A line in
|
||||||
|
@ -73,6 +88,18 @@ is equivalent to passing that same line to
|
||||||
with the
|
with the
|
||||||
.I -I
|
.I -I
|
||||||
option. Lines that start with the '#' character are ignored.
|
option. Lines that start with the '#' character are ignored.
|
||||||
|
|
||||||
|
Unless the \-\-tcp switch is used,
|
||||||
|
.B dcd-server
|
||||||
|
will default to communicating with the client over a UNIX domain socket.
|
||||||
|
.B dcd-server
|
||||||
|
will attempt to create the socket in the following locations:
|
||||||
|
.IP \(bu
|
||||||
|
.I ${XDG_RUNTIME_DIR}/dcd.socket
|
||||||
|
.RE
|
||||||
|
.IP \(bu
|
||||||
|
.I /tmp/dcd-${UID}.socket
|
||||||
|
.RE
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Written by Brian Schott (@Hackerpilot on Github)
|
Written by Brian Schott (@Hackerpilot on Github)
|
||||||
.PD
|
.PD
|
||||||
|
|
Loading…
Reference in New Issue