summaryrefslogtreecommitdiff
path: root/gosher.8
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2018-07-30 17:34:37 +0100
committerKatolaZ <katolaz@freaknet.org>2018-07-30 17:34:37 +0100
commit48b28c32c34e7c8a6137910ba3417183c95e7b34 (patch)
tree06780f9438ce4541388cfb22d2f758cf0f5582ae /gosher.8
parentabbd53c57a0fa52d315098c819f6ea3d7da8be4a (diff)
added more info to log of cgi
Diffstat (limited to 'gosher.8')
-rw-r--r--gosher.86
1 files changed, 4 insertions, 2 deletions
diff --git a/gosher.8 b/gosher.8
index 138fa45..45124e0 100644
--- a/gosher.8
+++ b/gosher.8
@@ -7,7 +7,7 @@
.Nd a Gopher server in a shell script
.Sh SYNOPSIS
.Nm gosher
-.Op Ar PORT Op Ar GOPHERDIR
+.Op Ar GOPHERDIR Op Ar HOSTNAME Op Ar PORT
.Sh DESCRIPTION
.Pp
.Ic gosher
@@ -23,7 +23,9 @@ protocol has assigned port 70 by IANA.
.Ic gosher
uses
.Em netcat(1)
-to listen for incoming connections on the specified
+to listen for incoming connections on the specified
+.Ar HOSTNAME
+(defaults to 'localhost' if not specified) and
.Ar PORT
(defaults to 70 if
.Ar PORT