summaryrefslogtreecommitdiff
path: root/tcpdump.1.in
diff options
context:
space:
mode:
Diffstat (limited to 'tcpdump.1.in')
-rw-r--r--tcpdump.1.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/tcpdump.1.in b/tcpdump.1.in
index ccecde6a..39bfe22b 100644
--- a/tcpdump.1.in
+++ b/tcpdump.1.in
@@ -39,6 +39,9 @@ tcpdump \- dump traffic on a network
.I count
]
[
+.B \-\-count
+]
+[
.B \-C
.I file_size
]
@@ -242,6 +245,12 @@ units of KiB (1024 bytes).
.BI \-c " count"
Exit after receiving \fIcount\fP packets.
.TP
+.BI \-\-count
+Print only on stderr the packet count when reading capture file(s) instead
+of parsing/printing the packets. If a filter is specified on the command
+line, \fItcpdump\fP counts only packets that were matched by the filter
+expression.
+.TP
.BI \-C " file_size"
Before writing a raw packet to a savefile, check whether the file is
currently larger than \fIfile_size\fP and, if so, close the current