Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] read/write capture comments from the command line

From: Martin Kaiser <lists@xxxxxxxxx>
Date: Wed, 10 Apr 2013 08:43:36 +0200
Thus wrote Guy Harris (guy@xxxxxxxxxxxx):

> Sounds like a job for capinfos.

You're right, that's where it should go. And for capinfos, the cmdline
options don't have to be aligned with wireshark/tshark/dumpcap ;-)

> (I assume by "capture file comment" you mean the comment in the first
> Section Header Block in a pcap-ng file, rather than the comments on
> packets.)

Yes.

I uploaded my patch to
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8574

Shouldn't be contentious. I'll check it in tomorrow or so unless someone
complains.

(I couldn't get capinfos to compile with USE_GOPTION defined but that's a
different story...)