Replace “-” by “\-” in some manpages when options are mentioned
authorMichael Schutte <michi@uiae.at>
Thu, 11 Jun 2009 18:38:17 +0000 (20:38 +0200)
committerAlexey Gladkov <legion@altlinux.org>
Sat, 13 Jun 2009 11:18:50 +0000 (15:18 +0400)
“-” is treated as a hyphen (U+2010) by groff.  “\-” is the intended
ASCII minus sign.

Signed-off-by: Michael Schutte <michi@uiae.at>
man/man1/loadkeys.1.in
man/man1/openvt.1
man/man1/setleds.1
man/man1/showkey.1
man/man8/setkeycodes.8

index 64031af..7e168e4 100644 (file)
@@ -98,7 +98,7 @@ compose ',' 'c' to ccedilla
 .LP
 means that <ComposeKey><,><c> must be combined to <ccedilla>.
 The current content of this table can be see
-using `dumpkeys --compose-only'.
+using `dumpkeys \-\-compose\-only'.
 .SH "LOAD KERNEL STRING TABLE"
 The option
 .I -s
index 8a37094..9a58a80 100644 (file)
@@ -35,7 +35,7 @@ will be made the new current VT.
 .TP
 .I "\-u"
 Figure out the owner of the current VT, and run login as that user.
-Suitable to be called by init. Shouldn't be used with -c or -l.
+Suitable to be called by init. Shouldn't be used with \-c or \-l.
 .TP
 .I "\-l"
 Make the command a login shell. A \- is prepended to the name of the command
index 21b50c9..f484fa0 100644 (file)
@@ -17,23 +17,23 @@ Without arguments,
 prints the current settings.
 With arguments, it sets or clears the indicated flags
 (and leaves the others unchanged). The settings before
-and after the change are reported if the -v flag is given.
+and after the change are reported if the \-v flag is given.
 .LP
 The led flag settings are specific for each VT (and the VT
 corresponding to stdin is used).
 .LP
-By default (or with option -F),
+By default (or with option \-F),
 .B setleds
 will only change the VT flags (and their setting may be
 reflected by the keyboard leds).
 .LP
-With option -D,
+With option \-D,
 .B setleds
 will change both the VT flags and their default settings
 (so that a subsequent reset will not undo the change).
 This might be useful for people who always want to have numlock set.
 .LP
-With option -L,
+With option \-L,
 .B setleds
 will not touch the VT flags, but only change the leds.
 From this moment on, the leds will no longer reflect the VT flags
@@ -53,7 +53,7 @@ INITTY=/dev/tty[1-8]
 for tty in $INITTY; do
 .br
 .in +5m
-setleds -D +num < $tty
+setleds \-D +num < $tty
 .br
 .in -5m
 done
index d695572..654e019 100644 (file)
@@ -3,7 +3,7 @@
 .SH NAME
 showkey \- examine the codes sent by the keyboard
 .SH SYNOPSIS
-showkey [-h|--help] [-a|--ascii] [-s|--scancodes] [-k|--keycodes]
+showkey [\-h|\-\-help] [\-a|\-\-ascii] [\-s|\-\-scancodes] [\-k|\-\-keycodes]
 .SH DESCRIPTION
 .IX "showkey command" "" "\fLshowkey\fR command"  
 .LP
index 702514f..69dee20 100644 (file)
@@ -20,7 +20,7 @@ recognize.
 .SH THEORY
 The usual PC keyboard produces a series of scancodes for each
 key press and key release. (Scancodes are shown by
-\fBshowkey -s\fP, see showkey(1).)
+\fBshowkey \-s\fP, see showkey(1).)
 The kernel parses this stream of scancodes, and converts it to
 a stream of keycodes (key press/release events).
 (Keycodes are shown by \fBshowkey\fP.)
@@ -46,7 +46,7 @@ In 2.6 kernels key codes lie in the range 1-255, instead of 1-127.
 (It might be best to confine oneself to the range 1-239.)
 .LP
 In 2.6 kernels raw mode, or scancode mode, is not very raw at all.
-The code returned by showkey -s will change after use of setkeycodes.
+The code returned by showkey \-s will change after use of setkeycodes.
 A kernel bug. See also
 .BR showkey (1).
 .SH OPTIONS