diff --git a/doc/editcap.pod b/doc/editcap.pod index cf8bcb5f16..7ce02115f9 100644 --- a/doc/editcap.pod +++ b/doc/editcap.pod @@ -121,10 +121,17 @@ The fractional seconds are optional, as is the time zone offset from UTC =item -c Epackets per fileE Splits the packet output to different files based on uniform packet counts -with a maximum of 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 each. + +Each output file will be created with an infix _nnnnn[_YYYYmmddHHMMSS] inserted +before the file extension (which may be null) of I. 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:]EchoplenE @@ -194,11 +201,18 @@ Prints the version and options and exits. =item -i Eseconds per fileE Splits the packet output to different files based on uniform time -intervals using a maximum interval of 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 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. 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 Ebytes to ignoreE