1484013170.aoetools-36-7-gf2d2325.avoid-hyphen-vs-minus-issues.patch 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Subject: Avoid hyphen vs minus issues
  2. Origin: aoetools-36-7-gf2d2325 <https://github.com/OpenAoE/aoetools/commit/aoetools-36-7-gf2d2325>
  3. Upstream-Author: Ed Cashin <ed.cashin@acm.org>
  4. Date: Mon Jan 9 20:52:50 2017 -0500
  5. Forwarded: not-needed (cherry-picked)
  6. ender@debian.org submitted these changes to the man pages, so
  7. that dashes would not by transformed into hyphens.
  8. --- a/aoe-mkdevs.8
  9. +++ b/aoe-mkdevs.8
  10. @@ -52,13 +52,13 @@
  11. .IP
  12. .EX
  13. .nf
  14. -nai:~# rm -rf /dev/etherd
  15. +nai:~# rm \-rf /dev/etherd
  16. nai:~# aoe-mkdevs /dev/etherd
  17. -nai:~# ls /dev/etherd | wc -l
  18. +nai:~# ls /dev/etherd | wc \-l
  19. 1603
  20. -nai:~# rm -rf /dev/etherd
  21. +nai:~# rm \-rf /dev/etherd
  22. nai:~# n_partitions=1 aoe-mkdevs /dev/etherd
  23. -nai:~# ls /dev/etherd | wc -l
  24. +nai:~# ls /dev/etherd | wc \-l
  25. 103
  26. .fi
  27. .EE
  28. --- a/aoe-mkshelf.8
  29. +++ b/aoe-mkshelf.8
  30. @@ -52,11 +52,11 @@
  31. .EX
  32. .nf
  33. nai:~# aoe-mkshelf /dev/etherd 7
  34. -nai:~# ls /dev/etherd/e7.* | wc -l
  35. +nai:~# ls /dev/etherd/e7.* | wc \-l
  36. 160
  37. nai:~# rm /dev/etherd/e7.*
  38. nai:~# n_partitions=1 aoe-mkshelf /dev/etherd 7
  39. -nai:~# ls /dev/etherd/e7.* | wc -l
  40. +nai:~# ls /dev/etherd/e7.* | wc \-l
  41. 10
  42. nai:~#
  43. .fi
  44. --- a/aoecfg.8
  45. +++ b/aoecfg.8
  46. @@ -3,7 +3,7 @@
  47. aoecfg \- manipulate AoE configuration strings
  48. .SH SYNOPSIS
  49. .B aoecfg
  50. -[-c \fIcmd\fR] [-s \fIcfgstr\fR] [-t \fItimeout\fR] [\fIshelf slot\fR] [\fInetif\fR]
  51. +[\-c \fIcmd\fR] [\-s \fIcfgstr\fR] [\-t \fItimeout\fR] [\fIshelf slot\fR] [\fInetif\fR]
  52. .fi
  53. .SH DESCRIPTION
  54. .IR Aoecfg (8)
  55. --- a/aoeping.8
  56. +++ b/aoeping.8
  57. @@ -67,9 +67,9 @@
  58. SMART commands in the list below are supported. If the command
  59. requires data
  60. transfer, one sector (512 bytes) of data is always the amount
  61. -transfered. If the command takes a parameter (for the Low LBA
  62. +transferred. If the command takes a parameter (for the Low LBA
  63. register), then the name of the SMART command is immediately followed
  64. -by a colon and then a number, the value of the parameter, e.g., "-S
  65. +by a colon and then a number, the value of the parameter, e.g., "\-S
  66. read_log:1".
  67. .IP
  68. read_data
  69. @@ -119,7 +119,7 @@
  70. .IP
  71. .EX
  72. .nf
  73. -bash# aoeping -v 10 9 eth0 | head
  74. +bash# aoeping \-v 10 9 eth0 | head
  75. tag: 80000000
  76. eth: eth0
  77. shelf: 10
  78. @@ -139,7 +139,7 @@
  79. .IP
  80. .EX
  81. .nf
  82. -bash# aoeping -i -s 20 \\
  83. +bash# aoeping \-i \-s 20 \\
  84. 10 9 eth0 > /dev/null \\
  85. && echo ok
  86. ok
  87. @@ -154,7 +154,7 @@
  88. .IP
  89. .EX
  90. .nf
  91. -bash# aoeping -S return_status \\
  92. +bash# aoeping \-S return_status \\
  93. 10 9 eth0 | grep 'LBA Mid: 0x4f' \\
  94. > /dev/null \\
  95. && echo ok