02_no_hyphen_in_manpages.patch 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. Description: Patch hyphens in manpages.
  2. Patched all the manpages in order to avoid usual hyphen->minus confusion.
  3. Also fixed a typo.
  4. Author: David Martínez Moreno <ender@debian.org>
  5. Forwarded: no
  6. Last-Update: 2014-01-12
  7. --- a/aoecfg.8
  8. +++ b/aoecfg.8
  9. @@ -3,7 +3,7 @@
  10. aoecfg \- manipulate AoE configuration strings
  11. .SH SYNOPSIS
  12. .B aoecfg
  13. -[-c \fIcmd\fR] [-s \fIcfgstr\fR] [-t \fItimeout\fR] [\fIshelf slot\fR] [\fInetif\fR]
  14. +[\-c \fIcmd\fR] [\-s \fIcfgstr\fR] [\-t \fItimeout\fR] [\fIshelf slot\fR] [\fInetif\fR]
  15. .fi
  16. .SH DESCRIPTION
  17. .IR Aoecfg (8)
  18. --- a/aoe-mkdevs.8
  19. +++ b/aoe-mkdevs.8
  20. @@ -52,13 +52,13 @@
  21. .IP
  22. .EX
  23. .nf
  24. -nai:~# rm -rf /dev/etherd
  25. +nai:~# rm \-rf /dev/etherd
  26. nai:~# aoe-mkdevs /dev/etherd
  27. -nai:~# ls /dev/etherd | wc -l
  28. +nai:~# ls /dev/etherd | wc \-l
  29. 1603
  30. -nai:~# rm -rf /dev/etherd
  31. +nai:~# rm \-rf /dev/etherd
  32. nai:~# n_partitions=1 aoe-mkdevs /dev/etherd
  33. -nai:~# ls /dev/etherd | wc -l
  34. +nai:~# ls /dev/etherd | wc \-l
  35. 103
  36. .fi
  37. .EE
  38. --- a/aoe-mkshelf.8
  39. +++ b/aoe-mkshelf.8
  40. @@ -52,11 +52,11 @@
  41. .EX
  42. .nf
  43. nai:~# aoe-mkshelf /dev/etherd 7
  44. -nai:~# ls /dev/etherd/e7.* | wc -l
  45. +nai:~# ls /dev/etherd/e7.* | wc \-l
  46. 160
  47. nai:~# rm /dev/etherd/e7.*
  48. nai:~# n_partitions=1 aoe-mkshelf /dev/etherd 7
  49. -nai:~# ls /dev/etherd/e7.* | wc -l
  50. +nai:~# ls /dev/etherd/e7.* | wc \-l
  51. 10
  52. nai:~#
  53. .fi
  54. --- a/aoeping.8
  55. +++ b/aoeping.8
  56. @@ -67,9 +67,9 @@
  57. SMART commands in the list below are supported. If the command
  58. requires data
  59. transfer, one sector (512 bytes) of data is always the amount
  60. -transfered. If the command takes a parameter (for the Low LBA
  61. +transferred. If the command takes a parameter (for the Low LBA
  62. register), then the name of the SMART command is immediately followed
  63. -by a colon and then a number, the value of the parameter, e.g., "-S
  64. +by a colon and then a number, the value of the parameter, e.g., "\-S
  65. read_log:1".
  66. .IP
  67. read_data
  68. @@ -119,7 +119,7 @@
  69. .IP
  70. .EX
  71. .nf
  72. -bash# aoeping -v 10 9 eth0 | head
  73. +bash# aoeping \-v 10 9 eth0 | head
  74. tag: 80000000
  75. eth: eth0
  76. shelf: 10
  77. @@ -139,7 +139,7 @@
  78. .IP
  79. .EX
  80. .nf
  81. -bash# aoeping -i -s 20 \\
  82. +bash# aoeping \-i \-s 20 \\
  83. 10 9 eth0 > /dev/null \\
  84. && echo ok
  85. ok
  86. @@ -154,7 +154,7 @@
  87. .IP
  88. .EX
  89. .nf
  90. -bash# aoeping -S return_status \\
  91. +bash# aoeping \-S return_status \\
  92. 10 9 eth0 | grep 'LBA Mid: 0x4f' \\
  93. > /dev/null \\
  94. && echo ok