aboutsummaryrefslogtreecommitdiffstats
path: root/doc/editcap.pod
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2020-12-28 18:26:16 +0100
committerAndersBroman <a.broman58@gmail.com>2020-12-31 10:50:17 +0000
commitb3d6580b4f71f73c924af83ce503ad3420cc5d9d (patch)
tree2f1b8a9e21127130f707f76fd34e809d0d72c126 /doc/editcap.pod
parentf652c79d5e2197097d9a1519f1cee1adc145a2fa (diff)
editcap: clarify relation between -A/-B and -r
Change wording so that the order of processing becomes more apparent. Closes #17109
Diffstat (limited to 'doc/editcap.pod')
-rw-r--r--doc/editcap.pod7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/editcap.pod b/doc/editcap.pod
index f94a49a1c2..dcd7aae81c 100644
--- a/doc/editcap.pod
+++ b/doc/editcap.pod
@@ -58,6 +58,9 @@ resulting packets to the capture I<outfile> (or outfiles).
By default, it reads all packets from the I<infile> and writes them to the
I<outfile> in pcapng file format.
+The B<-A> and B<-B> option allow you to limit the time range from which packets
+are read from the I<infile>.
+
An optional list of packet numbers can be specified on the command tail;
individual packet numbers separated by whitespace and/or ranges of packet
numbers can be specified as I<start>-I<end>, referring to all packets from
@@ -97,13 +100,13 @@ strings that include spaces.
=item -A E<lt>start timeE<gt>
-Saves only the packets whose timestamp is on or after start time.
+Reads only the packets whose timestamp is on or after start time.
The time is given in the following format YYYY-MM-DD HH:MM:SS[.nnnnnnnnn]
(the decimal and fractional seconds are optional).
=item -B E<lt>stop timeE<gt>
-Saves only the packets whose timestamp is before stop time.
+Reads only the packets whose timestamp is before stop time.
The time is given in the following format YYYY-MM-DD HH:MM:SS[.nnnnnnnnn]
(the decimal and fractional seconds are optional).