chiark / gitweb /
Arrgh. Another cock-up.
[fwd] / fw.1
diff --git a/fw.1 b/fw.1
index d6634f33763ad8db1b1a25f5bbd07e2a024aa9a9..e72ed1cc5566e179a99f913477e371e8340f9d4f 100644 (file)
--- a/fw.1
+++ b/fw.1
@@ -100,6 +100,8 @@ fw \- port forwarder
 .
 .B fw
 .RB [ \-dlq ]
+.RB [ \-p
+.IR file ]
 .RB [ \-f
 .IR file ]
 .RB [ \-s
@@ -175,6 +177,15 @@ initializing properly.
 .B "\-l, \-\-syslog, \-\-log"
 Emit logging information to the system log, rather than standard error.
 .TP
+.BI "\-p, \-\-pidfile=" file
+Write
+.BR fw 's
+process-id to
+.I file
+during start-up.  If
+.B \-d
+is given too, then the process-id is written after forking (obviously).
+.TP
 .B "\-q, \-\-quiet"
 Don't output any logging information.  This option is not recommended
 for normal use, although it can make system call traces clearer so I use