Wireshark-bugs: [Wireshark-bugs] [Bug 2101] editcap broken
Date: Sat, 12 Jan 2008 18:32:29 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2101


sake@xxxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from sake@xxxxxxxxxx  2008-01-12 18:32 GMT -------
Committed revision 24072.

Now the usage information shows:

[sake@fedora tmp]$ ~/wireshark/trunk/editcap 
Editcap 0.99.8 (SVN Rev 24070)
Edit and/or translate the format of capture files.
See http://www.wireshark.org for more information.

Usage: editcap [options] ... <infile> <outfile> [ <packet#>[-<packet#>] ... ]

A single packet or a range of packets can be selected.

Packet selection:
  -r                     keep the selected packets, default is to delete them
  -A <start time>        don't output packets whose timestamp is before the
                         given time (format as YYYY-MM-DD hh:mm:ss)
  -B <stop time>         don't output packets whose timestamp is after the
                         given time (format as YYYY-MM-DD hh:mm:ss)
  -d                     remove duplicate packets

Packet manipulation:
  -s <snaplen>           truncate each packet to max. <snaplen> bytes of data
  -C <choplen>           chop each packet at the end by <choplen> bytes
  -t <time adjustment>   adjust the timestamp of each packet,
                         <time adjustment> is in relative seconds (e.g. -0.5)
  -E <error probability> set the probability (between 0.0 and 1.0 incl.)
                         that a particular packet byte will be randomly changed

Output File(s):
  -c <packets per file>  split the packet output to different files,
                         with a maximum of <packets per file> each
  -F <capture type>      set the output file type, default is libpcap
                         an empty "-F" option will list the file types
  -T <encap type>        set the output file encapsulation type,
                         default is the same as the input file
                         an empty "-T" option will list the encapsulation types

Miscellaneous:
  -h                     display this help and exit
  -v                     verbose output

[sake@fedora tmp]$


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.