Package: aoetools / 36-2

02_no_hyphen_in_manpages.patch Patch series | download
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
Description: Patch hyphens in manpages.
 Patched all the manpages in order to avoid usual hyphen->minus confusion.
 Also fixed a typo.
Author: David Martínez Moreno <ender@debian.org>
Forwarded: no
Last-Update: 2014-01-12

--- a/aoecfg.8
+++ b/aoecfg.8
@@ -3,7 +3,7 @@
 aoecfg \- manipulate AoE configuration strings
 .SH SYNOPSIS
 .B aoecfg
-[-c \fIcmd\fR] [-s \fIcfgstr\fR] [-t \fItimeout\fR] [\fIshelf slot\fR] [\fInetif\fR]
+[\-c \fIcmd\fR] [\-s \fIcfgstr\fR] [\-t \fItimeout\fR] [\fIshelf slot\fR] [\fInetif\fR]
 .fi
 .SH DESCRIPTION
 .IR Aoecfg (8)
--- a/aoe-mkdevs.8
+++ b/aoe-mkdevs.8
@@ -52,13 +52,13 @@
 .IP
 .EX
 .nf
-nai:~# rm -rf /dev/etherd 
+nai:~# rm \-rf /dev/etherd
 nai:~# aoe-mkdevs /dev/etherd
-nai:~# ls /dev/etherd | wc -l
+nai:~# ls /dev/etherd | wc \-l
 1603
-nai:~# rm -rf /dev/etherd
+nai:~# rm \-rf /dev/etherd
 nai:~# n_partitions=1 aoe-mkdevs /dev/etherd
-nai:~# ls /dev/etherd | wc -l
+nai:~# ls /dev/etherd | wc \-l
 103
 .fi
 .EE
--- a/aoe-mkshelf.8
+++ b/aoe-mkshelf.8
@@ -52,11 +52,11 @@
 .EX
 .nf
 nai:~# aoe-mkshelf /dev/etherd 7
-nai:~# ls /dev/etherd/e7.* | wc -l
+nai:~# ls /dev/etherd/e7.* | wc \-l
 160
 nai:~# rm /dev/etherd/e7.*        
 nai:~# n_partitions=1 aoe-mkshelf /dev/etherd 7
-nai:~# ls /dev/etherd/e7.* | wc -l
+nai:~# ls /dev/etherd/e7.* | wc \-l
 10
 nai:~# 
 .fi
--- a/aoeping.8
+++ b/aoeping.8
@@ -67,9 +67,9 @@
 SMART commands in the list below are supported.  If the command
 requires data 
 transfer, one sector (512 bytes) of data is always the amount
-transfered.  If the command takes a parameter (for the Low LBA
+transferred.  If the command takes a parameter (for the Low LBA
 register), then the name of the SMART command is immediately followed
-by a colon and then a number, the value of the parameter, e.g., "-S
+by a colon and then a number, the value of the parameter, e.g., "\-S
 read_log:1".
 .IP
   read_data
@@ -119,7 +119,7 @@
 .IP
 .EX
 .nf
-bash# aoeping -v 10 9 eth0 | head
+bash# aoeping \-v 10 9 eth0 | head
 tag: 80000000
 eth: eth0
 shelf: 10
@@ -139,7 +139,7 @@
 .IP
 .EX
 .nf
-bash# aoeping -i -s 20 \\
+bash# aoeping \-i \-s 20 \\
   10 9 eth0 > /dev/null \\
   && echo ok
 ok
@@ -154,7 +154,7 @@
 .IP
 .EX
 .nf
-bash# aoeping -S return_status \\
+bash# aoeping \-S return_status \\
   10 9 eth0 | grep 'LBA Mid: 0x4f' \\
   > /dev/null \\
   && echo ok