README.md in packet_via_dmem-0.0.4 vs README.md in packet_via_dmem-0.0.5
- old
+ new
@@ -55,15 +55,19 @@
Wrote packet of 66 bytes.
Wrote packet of 9 bytes.
Read 28 potential packets, wrote 28 packets (4388 bytes).
% ./bin/packet-via-dmem --help
usage: ./bin/packet-via-dmem [options]
- -d, --debug turn on debugging
--headers print headers to stderr
-o, --original print original frames
- -r, --received pop BYTES from received frames, default 6
- -s, --sent pop BYTES from senti frames, default is not to show sent frames
+ -r, --received print received frames only (DEFAULT)
+ -s, --sent print sent frames only
+ -b, --both print received and sent frames
+ --poprx pop N bytes from received frames
+ --poptx pop N bytes from sent frames
+ -d, --debug turn on debugging
-h, --help
+ %
## Library
require 'packet_via_dmem'
dmem = PacketViaDMEM.new
packets = dmem.parse File.read(ARGF[0])