summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/chocolate-server.62
-rwxr-xr-xman/docgen2
-rw-r--r--man/environ.man2
3 files changed, 4 insertions, 2 deletions
diff --git a/man/chocolate-server.6 b/man/chocolate-server.6
index f37173f2..74dc6f42 100644
--- a/man/chocolate-server.6
+++ b/man/chocolate-server.6
@@ -13,7 +13,7 @@ as similar to the original doom game as is possible.
is a dedicated server for Chocolate Doom. It is equivalent to
running
.B chocolate\-doom
-with the "-dedicated" option.
+with the "\-dedicated" option.
.PP
Game options are not specified to the server, which merely acts to
retransmit data between players in the game; parameters for the
diff --git a/man/docgen b/man/docgen
index d9535be8..3b11ad8c 100755
--- a/man/docgen
+++ b/man/docgen
@@ -425,6 +425,8 @@ def manpage_output(targets, template_file):
for t in targets:
content += t.manpage_output() + "\n"
+ content = content.replace("-", "\\-")
+
print_template(template_file, content)
def wiki_output(targets, template):
diff --git a/man/environ.man b/man/environ.man
index 502e965c..171b25dc 100644
--- a/man/environ.man
+++ b/man/environ.man
@@ -1,7 +1,7 @@
.TP
\fBDOOMWADDIR\fR, \fBDOOMWADPATH\fR
These environment variables provide paths to search for Doom .WAD files when
-looking for a game IWAD file or a PWAD file specified with the `-file' option.
+looking for a game IWAD file or a PWAD file specified with the `\-file' option.
\fBDOOMWADDIR\fR specifies a single path in which to look for WAD files,
while \fBDOOMWWADPATH\fR specifies a colon-separated list of paths to search.
.TP