Thanks for pointing this out. The proton-dump binary is a utility used in testing. It reads binary frame data in from a file and pretty prints it. This can be used to test codec interop with other protocol implementations. The proton binary is a really ancient and bad example that really should be killed/replaced.
--Rafael On Wed, Jan 29, 2014 at 9:36 AM, Shearer, Davin <[email protected]>wrote: > Did a yum update today on my Fedora 19 machine and was happy to see that > proton v0.6 is now available on the system. > > > ================================================================================ > Package Arch Version Repository > Size > > ================================================================================ > Updating: > qpid-proton-c x86_64 0.6-1.fc19 fedora19-x86_64-updates > 116 k > ... > Transaction Summary > > ================================================================================ > ... > > Cool, let's check it out! > > $ rpm -qi qpid-proton-c-0.6-1.fc19.x86_64 > Name : qpid-proton-c > Version : 0.6 > Release : 1.fc19 > Architecture: x86_64 > Install Date: Wed 29 Jan 2014 09:11:04 AM EST > Group : Unspecified > Size : 396552 > License : ASL 2.0 > Signature : RSA/SHA256, Fri 17 Jan 2014 10:55:59 AM EST, Key ID > 07477e65fb4b18e6 > Source RPM : qpid-proton-0.6-1.fc19.src.rpm > Build Date : Thu 16 Jan 2014 01:54:34 PM EST > Build Host : buildvm-18.phx2.fedoraproject.org > Relocations : (not relocatable) > Packager : Fedora Project > Vendor : Fedora Project > URL : http://qpid.apache.org/proton/ > Summary : C libraries for Qpid Proton > Description : > C libraries for Qpid Proton. > > Version 0.6, sweet! OK, now what did it install? > > $ rpm -ql qpid-proton-c-0.6-1.fc19.x86_64 > /usr/bin/proton > /usr/bin/proton-dump > /usr/lib64/libqpid-proton.so.2 > /usr/lib64/libqpid-proton.so.2.0.0 > /usr/share/man/man1/proton.1.gz > /usr/share/proton-0.6 > /usr/share/proton-0.6/LICENSE > /usr/share/proton-0.6/README > /usr/share/proton-0.6/TODO > > Cool, so what does that proton tool do, let's find out? > > $ /usr/bin/proton --help > /usr/bin/proton: invalid option -- '-' > Usage: /usr/bin/proton -h > Aborted (core dumped) > > Abort with a core dump! That's not the expected behaviour, is it? > > -h works as does the man 1 page, but I think it's suprising that --help > would abort. > > So what does proton-dump do? Hard to say since there is no help screen > displayed when using either -h or --help and there is no man page and the > README that was installed contains just build and test instructions. > > It's not a big deal, but just thought someone should know. > > -- > Davin Shearer >
