Update manpage, fix usage string printf.
This commit is contained in:
parent
0de6990d53
commit
340285a864
@ -1,4 +1,4 @@
|
|||||||
.TH guacd 8 "10 Dec 2011" "version 0.5.0" "Guacamole"
|
.TH guacd 8 "6 May 2012" "version 0.6.0" "Guacamole"
|
||||||
.
|
.
|
||||||
.SH NAME
|
.SH NAME
|
||||||
guacd \- Guacamole proxy daemon
|
guacd \- Guacamole proxy daemon
|
||||||
@ -8,6 +8,7 @@ guacd \- Guacamole proxy daemon
|
|||||||
[\fB-b\fR \fIHOST\fR]
|
[\fB-b\fR \fIHOST\fR]
|
||||||
[\fB-l\fR \fIPORT\fR]
|
[\fB-l\fR \fIPORT\fR]
|
||||||
[\fB-p\fR \fIFILE\fR]
|
[\fB-p\fR \fIFILE\fR]
|
||||||
|
[\fB-f\fR]
|
||||||
.
|
.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B guacd
|
.B guacd
|
||||||
@ -38,6 +39,12 @@ Causes
|
|||||||
to write the PID of the daemon process to the specified
|
to write the PID of the daemon process to the specified
|
||||||
file. This is useful for init scripts and is used by the provided init
|
file. This is useful for init scripts and is used by the provided init
|
||||||
script.
|
script.
|
||||||
|
.TP
|
||||||
|
\fB\-f\fR
|
||||||
|
Causes
|
||||||
|
.B guacd
|
||||||
|
to run in the foreground, rather than automatically forking into the
|
||||||
|
background.
|
||||||
.
|
.
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Written by Michael Jumper <zhangmaike@users.sourceforge.net>
|
Written by Michael Jumper <zhangmaike@users.sourceforge.net>
|
||||||
|
@ -227,7 +227,7 @@ int main(int argc, char* argv[]) {
|
|||||||
fprintf(stderr, "USAGE: %s"
|
fprintf(stderr, "USAGE: %s"
|
||||||
" [-l LISTENPORT]"
|
" [-l LISTENPORT]"
|
||||||
" [-b LISTENADDRESS]"
|
" [-b LISTENADDRESS]"
|
||||||
" [-p PIDFILE]",
|
" [-p PIDFILE]"
|
||||||
" [-f]\n", argv[0]);
|
" [-f]\n", argv[0]);
|
||||||
|
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
|
Loading…
Reference in New Issue
Block a user