summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2008-03-29 12:24:22 +0100
committermaximilian attems <max@stro.at>2008-03-29 12:24:22 +0100
commit701f56e007030e64f117fb3ff06ed6d394bfc86e (patch)
tree56c5b28d5589869fcb0594ca2e413055d08267e5
parentd377e38823d06d8e79341fba44ce8ea9c42daff6 (diff)
downloadinitramfs-tools-701f56e007030e64f117fb3ff06ed6d394bfc86e.tar.gz
initramfs-tools-701f56e007030e64f117fb3ff06ed6d394bfc86e.zip
manpages: fix hyphen-used-as-minus-sign
properly escape minus signs to make them easily pastable.
-rw-r--r--initramfs-tools.810
-rw-r--r--update-initramfs.82
-rw-r--r--update-initramfs.conf.52
3 files changed, 7 insertions, 7 deletions
diff --git a/initramfs-tools.8 b/initramfs-tools.8
index 3708575..317fdc8 100644
--- a/initramfs-tools.8
+++ b/initramfs-tools.8
@@ -387,7 +387,7 @@ esac
. /usr/share/initramfs-tools/hook-functions
# Begin real processing below this line
-if [ ! -x "/sbin/frobnicate" ]; then
+if [ ! \-x "/sbin/frobnicate" ]; then
exit 0
fi
@@ -419,11 +419,11 @@ prereqs)
esac
# Begin real processing below this line
-if [ ! -x "/sbin/frobnicate" ]; then
+if [ ! \-x "/sbin/frobnicate" ]; then
panic "Frobnication executable not found"
fi
-if [ ! -e "/dev/mapper/frobb" ]; then
+if [ ! \-e "/dev/mapper/frobb" ]; then
panic "Frobnication device not found"
fi
@@ -442,8 +442,8 @@ to double-check if it contains the relevant binaries, libs or modules:
.nf
mkdir tmp/initramfs
cd tmp/initramfs
-gunzip -c -9 /boot/initrd.img-2.6.18-1-686 | \\
-cpio -i -d -H newc --no-absolute-filenames
+gunzip \-c \-9 /boot/initrd.img\-2.6.18\-1\-686 | \\
+cpio \-i \-d \-H newc \-\-no\-absolute\-filenames
.fi
.RE
diff --git a/update-initramfs.8 b/update-initramfs.8
index 4ba12de..84f0b14 100644
--- a/update-initramfs.8
+++ b/update-initramfs.8
@@ -30,7 +30,7 @@ happens in this early userspace.
.TP
\fB \-k \fI version
Set the specific kernel version for whom the initramfs will be generated.
-For example the output of uname -r for your currently running kernel.
+For example the output of uname \-r for your currently running kernel.
This argument is optional for update. The default is the latest kernel version.
The use of "all" for the
diff --git a/update-initramfs.conf.5 b/update-initramfs.conf.5
index 58e3cc4..fcba12f 100644
--- a/update-initramfs.conf.5
+++ b/update-initramfs.conf.5
@@ -15,7 +15,7 @@ newest Linux image.
Setting it to \fIall\fP updates any known initramfs.
It is possible to set it to \fIno\fP for remote servers or boxes where
conservative manners needs to be applied. This disables
-the \fBupdate_initramfs -u\fP call.
+the \fBupdate_initramfs \-u\fP call.
.SH AUTHOR
The initramfs-tools are written by Maximilian Attems <maks@debian.org>,