diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-06-21 18:15:50 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-06-21 18:15:50 -0700 |
commit | 4cc892cbff1843cd735ff71297b0ee006a74ceab (patch) | |
tree | 9c933a880e9549094db2e8cff9055a183c5f8e55 /tcpdump.1.in | |
parent | 2a579ee5cca382afc8f6c8c7b4067f7dd5f67fe5 (diff) | |
download | tcpdump-4cc892cbff1843cd735ff71297b0ee006a74ceab.tar.gz |
Use "-H", not "-h", for the 802.11s option, and improve error reporting.
I was rudely surprised to find that "tcpdump -h" wasn't printing a usage
message, and I'm the person who *added* the "-h" option. Make it "-H",
and add an explicit "-h" option to print a usage message, so nobody else
makes the same mistake. Also, don't clear opterr, so that if you give
an illegal command-line option, you get an explanatory error message.
Diffstat (limited to 'tcpdump.1.in')
-rw-r--r-- | tcpdump.1.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tcpdump.1.in b/tcpdump.1.in index 9418ad9d..6871b67c 100644 --- a/tcpdump.1.in +++ b/tcpdump.1.in @@ -29,7 +29,7 @@ tcpdump \- dump traffic on a network .na .B tcpdump [ -.B \-AbdDefhIJKlLnNOpqRStuUvxX +.B \-AbdDefhHIJKlLnNOpqRStuUvxX ] [ .B \-B .I buffer_size @@ -324,6 +324,10 @@ If used in conjunction with the option, filenames will take the form of `\fIfile\fP<count>'. .TP .B \-h +Print the tcpdump and libpcap version strings, print a usage message, +and exit. +.TP +.B \-H Attempt to detect 802.11s draft mesh headers. .TP .B \-i |