editcap doc: Fix description of split output file names

The editcap documentation still refers to the pre 1.2.1 behavior
of determining output file names when splitting based on either
packet counts or time intervals. (See commit a8eb860103) Update
it to reflect the current behavior.
This commit is contained in:
John Thacker 2021-08-09 20:30:02 -04:00 committed by Wireshark GitLab Utility
parent 158810c713
commit 3c5168c874
1 changed files with 23 additions and 9 deletions

View File

@ -121,10 +121,17 @@ The fractional seconds are optional, as is the time zone offset from UTC
=item -c E<lt>packets per fileE<gt>
Splits the packet output to different files based on uniform packet counts
with a maximum of <packets per file> each. Each output file will
be created with a suffix -nnnnn, starting with 00000. If the specified
number of packets is written to the output file, the next output file is
opened. The default is to use a single output file.
with a maximum of <packets per file> each.
Each output file will be created with an infix _nnnnn[_YYYYmmddHHMMSS] inserted
before the file extension (which may be null) of I<outfile>. The infix
consists of the ordinal number of the output file, starting with 00000,
followed by the timestamp of its first packet. The timestamp is omitted if
the input file does not contain timestamp information.
After the specified number of packets is written to the output file, the next
output file is opened. The default is to use a single output file.
This option conflicts with B<-i>.
=item -C [offset:]E<lt>choplenE<gt>
@ -194,11 +201,18 @@ Prints the version and options and exits.
=item -i E<lt>seconds per fileE<gt>
Splits the packet output to different files based on uniform time
intervals using a maximum interval of <seconds per file> each. Floating
point values (e.g. 0.5) are allowed. Each output file will be created
with a suffix -nnnnn, starting with 00000. If packets for the specified
time interval are written to the output file, the next output file is
opened. The default is to use a single output file.
intervals using a maximum interval of <seconds per file> each. Floating
point values (e.g. 0.5) are allowed.
Each output file will be created with an infix _nnnnn[_YYYYmmddHHMMSS] inserted
before the file extension (which may be null) of I<outfile>. The infix
consists of the ordinal number of the output file, starting with 00000,
followed by the timestamp of its first packet. The timestamp is omitted if
the input file does not contain timestamp information.
After packets for the specified time interval are written to the output file,
the next output file is opened. The default is to use a single output file.
This option conflicts with B<-c>.
=item -I E<lt>bytes to ignoreE<gt>