Update manpage, fix usage string printf.
authorMichael Jumper <zhangmaike@users.sourceforge.net>
Fri, 25 May 2012 06:49:40 +0000 (23:49 -0700)
committerMichael Jumper <zhangmaike@users.sourceforge.net>
Fri, 25 May 2012 06:49:40 +0000 (23:49 -0700)
man/guacd.8
src/daemon.c

index 9843ea9..7aa6146 100644 (file)
@@ -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
 guacd \- Guacamole proxy daemon
@@ -8,6 +8,7 @@ guacd \- Guacamole proxy daemon
 [\fB-b\fR \fIHOST\fR]
 [\fB-l\fR \fIPORT\fR]
 [\fB-p\fR \fIFILE\fR]
+[\fB-f\fR]
 .
 .SH DESCRIPTION
 .B guacd
@@ -38,6 +39,12 @@ Causes
 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
 script.
+.TP
+\fB\-f\fR
+Causes
+.B guacd
+to run in the foreground, rather than automatically forking into the
+background.
 .
 .SH AUTHOR
 Written by Michael Jumper <zhangmaike@users.sourceforge.net>
index a727dc6..5435865 100644 (file)
@@ -227,7 +227,7 @@ int main(int argc, char* argv[]) {
             fprintf(stderr, "USAGE: %s"
                     " [-l LISTENPORT]"
                     " [-b LISTENADDRESS]"
-                    " [-p PIDFILE]",
+                    " [-p PIDFILE]"
                     " [-f]\n", argv[0]);
 
             exit(EXIT_FAILURE);