12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- Subject: Avoid hyphen vs minus issues
- Origin: aoetools-36-7-gf2d2325 <https://github.com/OpenAoE/aoetools/commit/aoetools-36-7-gf2d2325>
- Upstream-Author: Ed Cashin <ed.cashin@acm.org>
- Date: Mon Jan 9 20:52:50 2017 -0500
- Forwarded: not-needed (cherry-picked)
- ender@debian.org submitted these changes to the man pages, so
- that dashes would not by transformed into hyphens.
- --- 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/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/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
|