summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormd@Linux.IT <md@Linux.IT>2004-03-01 22:34:10 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:06 -0700
commit758f236fd1385fc7d95c719ec03e4e22ef205bf8 (patch)
treed7b12edc03bfa94dfa082cd37f0c9c8d8a76c5a9
parentb7b6562729a661f6ebf4576e9ce90e9228315e93 (diff)
[PATCH] escape dashes in man pages
man-dashes.diff: escape dashes in man pages, helps with UTF-8 locales (by Philipp Matthias Hahn).
-rw-r--r--udev.86
-rw-r--r--udevinfo.822
2 files changed, 14 insertions, 14 deletions
diff --git a/udev.8 b/udev.8
index e449ef8dbb..21ec908b82 100644
--- a/udev.8
+++ b/udev.8
@@ -304,8 +304,8 @@ Matches any single character, but does not match zero characters.
.B [ ]
Matches any single character specified within the brackets. For example, the
pattern string "tty[SR]" would match either "ttyS" or "ttyR". Ranges are also
-supported within this match with the '-' character. For example, to match on
-the range of all digits, the pattern [0-9] would be used. If the first character
+supported within this match with the '\-' character. For example, to match on
+the range of all digits, the pattern [0\-9] would be used. If the first character
following the '[' is a '!' then any character not enclosed is matched.
.SH "FILES"
.nf
@@ -320,7 +320,7 @@ following the '[' is a '!' then any character not enclosed is matched.
.BR hotplug (8)
.PP
The
-.I http://linux-hotplug.sourceforge.net/
+.I http://linux\-hotplug.sourceforge.net/
web site.
.SH AUTHORS
.B udev
diff --git a/udevinfo.8 b/udevinfo.8
index 1716d17434..ad16ce6aed 100644
--- a/udevinfo.8
+++ b/udevinfo.8
@@ -3,7 +3,7 @@
udevinfo \- retrieve information from udev
.SH SYNOPSIS
.B udevinfo
-.RI "[-q " query_type " -p " sysfs_path "] [-drVh]"
+.RI "[\-q " query_type " \-p " sysfs_path "] [\-drVh]"
.SH "DESCRIPTION"
.B udevinfo
allows users to query the udev database for information on any of the devices
@@ -13,40 +13,40 @@ in the sysfs tree to help in creating
rule files.
.SH "OPTIONS"
.TP
-.B -V
+.B \-V
Print the version information.
.TP
-.B -r
+.B \-r
Print the the
.B udev_root
directory. When used in conjunction with a query for the node name, the
.B udev_root
will be prepended.
.TP
-.BI -q " query_type"
+.BI \-q " query_type"
Query the database for specified value of a created device node.
-.RB Needs " -p " or " -n " specified.
+.RB Needs " \-p " or " \-n " specified.
.br
Valid types are:
.BR name ", " symlink ", " mode " ," owner " , " group " or " path.
.TP
-.BI -p " sysfs_path"
+.BI \-p " sysfs_path"
Specify the sysfs path of the device to query.
.TP
-.BI -n " name"
+.BI \-n " name"
Specify the name of the node for the device to query.
.TP
-.B -a
+.B \-a
Print all
.BI SYSFS{ filename }
attributes along the device chain. Useful for for finding
unique attributes to compose a rule.
-.RB Needs " -p " specified.
+.RB Needs " \-p " specified.
.TP
-.B -d
+.B \-d
Dump the whole database.
.TP
-.B -h
+.B \-h
Print help text.
.SH "FILES"
.nf