1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
From: Stefan Ritter <xeno@thehappy.de>
Subject: escaped minus-signs in manpages
--- a/doc/glhack.6
+++ b/doc/glhack.6
@@ -155,10 +155,10 @@
.PP
They all begin with a double dash (`--').
Values are normally separated from the option with a space, like
-"--depth 32".
+"\-\-depth 32".
.PP
Alternatively, a value can be placed after an `=' sign without any
-spaces, like "--depth=32". This should be used if the value begins
+spaces, like "\-\-depth=32". This should be used if the value begins
with a minus (`-') sign, otherwise the number will be mistaken as a
new option.
.PP
@@ -180,7 +180,7 @@
.TP
.BR --gamma =-2
Gamma correction value.
-Range is -5 to +5, where positive values make the screen brighter,
+Range is \-5 to +5, where positive values make the screen brighter,
and negative values make it darker.
Zero is the default (no adjustment).
.TP
@@ -216,7 +216,7 @@
String predefining several glHack-specific options.
.TP
NETHACKDIR
-Playground directory (see -d option above).
+Playground directory (see \-d option above).
.PP
In addition, SHOPTYPE is used in debugging (wizard) mode.
.SH SECURITY
--- a/doc/glhackrc.5
+++ b/doc/glhackrc.5
@@ -68,7 +68,7 @@
Open in a window. Default is fullscreen.
.TP
.B gamma:+1
-Gamma correction value. Range is -5 to +5, where
+Gamma correction value. Range is \-5 to +5, where
positive values make the screen brighter, and
negative values make it darker. Zero is the
default value (no adjustment).
|