File: fixmanpages.patch

package info (click to toggle)
arp-scan 1.9.5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,624 kB
  • sloc: ansic: 5,289; sh: 959; perl: 856; makefile: 17
file content (254 lines) | stat: -rw-r--r-- 9,817 bytes parent folder | 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
From: William Vera <billy@billy.com.mx>
Date: Tue, 21 Aug 2018 21:56:50 +0200
Subject: Fix hyphen-used-as-minus-sign in man pages.

---
 arp-fingerprint.1 |  6 ++---
 arp-scan.1        | 66 +++++++++++++++++++++++++++----------------------------
 get-iab.1         |  2 +-
 get-oui.1         |  2 +-
 4 files changed, 38 insertions(+), 38 deletions(-)

diff --git a/arp-fingerprint.1 b/arp-fingerprint.1
index 5630ff9..8a10989 100644
--- a/arp-fingerprint.1
+++ b/arp-fingerprint.1
@@ -100,8 +100,8 @@ Display verbose progress messages.
 .B -o <option-string>
 Pass specified options to arp-scan. You need to enclose the options
 string in quotes if it contains spaces. e.g.
--o "-I eth1".  The commonly used options are --interface (-I) and --numeric
-(-N).
+\-o "\-I eth1".  The commonly used options are \--interface (\-I) and \--numeric
+(\-N).
 .TP
 .B -l
 Fingerprint all hosts on the local network. You do not need to specify any
@@ -113,7 +113,7 @@ $ arp-fingerprint 192.168.0.1
 .fi
 .PP
 .nf
-$ arp-fingerprint -o "-N -I eth1" 192.168.0.202
+$ arp-fingerprint \-o "\-N \-I eth1" 192.168.0.202
 192.168.0.202 11110100000     FreeBSD 5.3, Win98, WinME, NT4, 2000, XP, 2003
 .fi
 .SH NOTES
diff --git a/arp-scan.1 b/arp-scan.1
index 189e26c..a9f82a6 100644
--- a/arp-scan.1
+++ b/arp-scan.1
@@ -55,13 +55,13 @@ option.
 The target hosts to scan may be specified in one of three ways: by specifying
 the targets on the command line; by specifying a file containing the targets
 with the
-.B --file
+.B \--file
 option; or by specifying the
-.B --localnet
+.B \--localnet
 option which causes all possible hosts on the network attached to the interface
 (as defined by the interface address and mask) to be scanned. For hosts specified
 on the command line, or with the
-.B --file
+.B \--file
 option, you can use either IP addresses or hostnames.  You can also use network
 specifications
 .BR IPnetwork/bits ,
@@ -185,14 +185,14 @@ Outgoing ARP Packet Options
 =
 Field	Bits	Option	Notes
 =
-ar$hrd	16	--arphrd	Default is 1 (ARPHRD_ETHER)
-ar$pro	16	--arppro	Default is 0x0800
-ar$hln	8	--arphln	Default is 6 (ETH_ALEN)
-ar$pln	8	--arppln	Default is 4 (IPv4)
-ar$op	16	--arpop	Default is 1 (ARPOP_REQUEST)
-ar$sha	48	--arpsha	Default is interface h/w address
-ar$spa	32	--arpspa	Default is interface IP address
-ar$tha	48	--arptha	Default is zero (00:00:00:00:00:00)
+ar$hrd	16	\--arphrd	Default is 1 (ARPHRD_ETHER)
+ar$pro	16	\--arppro	Default is 0x0800
+ar$hln	8	\--arphln	Default is 6 (ETH_ALEN)
+ar$pln	8	\--arppln	Default is 4 (IPv4)
+ar$op	16	\--arpop	Default is 1 (ARPOP_REQUEST)
+ar$sha	48	\--arpsha	Default is interface h/w address
+ar$spa	32	\--arpspa	Default is interface IP address
+ar$tha	48	\--arptha	Default is zero (00:00:00:00:00:00)
 ar$tpa	32	None	Set to the target host IP address
 .TE
 .\" We need two paragraphs under the table to get the correct spacing.
@@ -224,9 +224,9 @@ Outgoing Ethernet Frame Options
 =
 Field	Bits	Option	Notes
 =
-Dest Address	48	--destaddr	Default is ff:ff:ff:ff:ff:ff
-Source Address	48	--srcaddr	Default is interface address
-Protocol Type	16	--prototype	Default is 0x0806
+Dest Address	48	\--destaddr	Default is ff:ff:ff:ff:ff:ff
+Source Address	48	\--srcaddr	Default is interface address
+Protocol Type	16	\--prototype	Default is 0x0806
 .TE
 .\" We need two paragraphs under the table to get the correct spacing.
 .PP
@@ -300,40 +300,40 @@ Where an option takes a value, that value is specified as a letter in
 angle brackets. The letter indicates the type of data that is expected:
 .TP
 .B <s>
-A character string, e.g. --file=hostlist.txt.
+A character string, e.g. \--file=hostlist.txt.
 .TP
 .B <i>
 An integer, which can be specified as a decimal number or as a hexadecimal
-number if preceeded with 0x, e.g. --arppro=2048 or --arpro=0x0800.
+number if preceded with 0x, e.g. \--arppro=2048 or \--arpro=0x0800.
 .TP
 .B <f>
-A floating point decimal number, e.g. --backoff=1.5.
+A floating point decimal number, e.g. \--backoff=1.5.
 .TP
 .B <m>
 An Ethernet MAC address, which can be specified either in the format
 01:23:45:67:89:ab, or as 01-23-45-67-89-ab. The alphabetic hex characters
-may be either upper or lower case. E.g. --arpsha=01:23:45:67:89:ab.
+may be either upper or lower case. E.g. \--arpsha=01:23:45:67:89:ab.
 .TP
 .B <a>
-An IPv4 address, e.g. --arpspa=10.0.0.1
+An IPv4 address, e.g. \--arpspa=10.0.0.1
 .TP
 .B <h>
 Binary data specified as a hexadecimal string, which should not
 include a leading 0x. The alphabetic hex characters may be either
-upper or lower case. E.g. --padding=aaaaaaaaaaaa
+upper or lower case. E.g. \--padding=aaaaaaaaaaaa
 .TP
 .B <x>
 Something else. See the description of the option for details.
 .TP
-.B --help or -h
+.B \--help or \-h
 Display this usage message and exit.
 .TP
-.B --file=<s> or -f <s>
+.B \--file=<s> or \-f <s>
 Read hostnames or addresses from the specified file
 instead of from the command line. One name or IP
 address per line. Use "-" for standard input.
 .TP
-.B --localnet or -l
+.B \--localnet or \-l
 Generate addresses from network interface configuration.
 Use the network interface IP address and network mask
 to generate the list of target host addresses.
@@ -341,11 +341,11 @@ The list will include the network and broadcast
 addresses, so an interface address of 10.0.0.1 with
 netmask 255.255.255.0 would generate 256 target
 hosts from 10.0.0.0 to 10.0.0.255 inclusive.
-If you use this option, you cannot specify the --file
+If you use this option, you cannot specify the \--file
 option or specify any target hosts on the command line.
 The interface specifications are taken from the
 interface that arp-scan will use, which can be
-changed with the --interface option.
+changed with the \--interface option.
 .TP
 .B --retry=<i> or -r <i>
 Set total number of attempts per host to <i>,
@@ -355,7 +355,7 @@ default=2.
 Set initial per host timeout to <i> ms, default=500.
 This timeout is for the first packet sent to each host.
 subsequent timeouts are multiplied by the backoff
-factor which is set with --backoff.
+factor which is set with \--backoff.
 .TP
 .B --interval=<x> or -i <x>
 Set minimum packet interval to <x>.
@@ -363,7 +363,7 @@ This controls the outgoing bandwidth usage by limiting
 the rate at which packets can be sent. The packet
 interval will be no smaller than this number.
 If you want to use up to a given bandwidth, then it is
-easier to use the --bandwidth option instead.
+easier to use the \--bandwidth option instead.
 The interval specified is in milliseconds by default,
 or in microseconds if "u" is appended to the value.
 .TP
@@ -375,7 +375,7 @@ per sec; and if you append "M" to the value, the
 units are megabits per second.
 The "K" and "M" suffixes represent the decimal, not
 binary, multiples. So 64K is 64000, not 65536.
-You cannot specify both --interval and --bandwidth
+You cannot specify both \--interval and \--bandwidth
 because they are just different ways to change the
 same underlying parameter.
 .TP
@@ -392,7 +392,7 @@ Display verbose progress messages.
 Use more than once for greater effect:
 .IP ""
 1 - Display the network address and mask used when the
---localnet option is specified, display any
+\--localnet option is specified, display any
 nonzero packet padding, display packets received
 from unknown hosts, and show when each pass through
 the list completes.
@@ -485,7 +485,7 @@ Set the source Ethernet MAC address to <m>.
 This sets the 48-bit hardware address in the Ethernet
 frame header for outgoing ARP packets. It does not
 change the hardware address in the ARP packet, see
---arpsha for details on how to change that address.
+\--arpsha for details on how to change that address.
 The default is the Ethernet address of the outgoing
 interface.
 .TP
@@ -502,7 +502,7 @@ multicast address that they are listening on.
 Use <m> as the ARP source Ethernet address
 This sets the 48-bit ar$sha field in the ARP packet
 It does not change the hardware address in the frame
-header, see --srcaddr for details on how to change
+header, see \--srcaddr for details on how to change
 that address. The default is the Ethernet address of
 the outgoing interface.
 .TP
@@ -635,7 +635,7 @@ using the network interface
 .IR eth0 .
 .PP
 .nf
-$ arp-scan --interface=eth0 192.168.0.0/24
+$ arp-scan \--interface=eth0 192.168.0.0/24
 Interface: eth0, datalink type: EN10MB (Ethernet)
 Starting arp-scan 1.4 with 256 hosts (http://www.nta-monitor.com/tools-resources/security-tools/arp-scan/)
 192.168.0.1     00:c0:9f:09:b8:db       QUANTA COMPUTER, INC.
@@ -672,7 +672,7 @@ eth0      Link encap:Ethernet  HWaddr 00:D0:B7:0B:DD:C7
           TX packets:1542776 errors:0 dropped:0 overruns:0 carrier:0
           collisions:1644 txqueuelen:1000
           RX bytes:6184146 (5.8 MiB)  TX bytes:348887835 (332.7 MiB)
-# arp-scan --localnet
+# arp-scan \--localnet
 Interface: eth0, datalink type: EN10MB (Ethernet)
 Starting arp-scan 1.4 with 8 hosts (http://www.nta-monitor.com/tools-resources/security-tools/arp-scan/)
 10.0.84.179     00:02:b3:63:c7:57       Intel Corporation
diff --git a/get-iab.1 b/get-iab.1
index 35523c2..bf9ab80 100644
--- a/get-iab.1
+++ b/get-iab.1
@@ -84,7 +84,7 @@ Display verbose progress messages.
 The default output file.
 .SH EXAMPLES
 .nf
-$ get-iab -v
+$ get-iab \-v
 Renaming ieee-iab.txt to ieee-iab.txt.bak
 Fetching IAB data from http://standards.ieee.org/regauth/oui/iab.txt
 Fetched 230786 bytes
diff --git a/get-oui.1 b/get-oui.1
index 0088067..9ef51de 100644
--- a/get-oui.1
+++ b/get-oui.1
@@ -96,7 +96,7 @@ Display verbose progress messages.
 The default output file.
 .SH EXAMPLES
 .nf
-$ get-oui -v
+$ get-oui \-v
 Renaming ieee-oui.txt to ieee-oui.txt.bak
 Fetching OUI data from http://standards-oui.ieee.org/oui/oui.txt
 Fetched 3467133 bytes