Wireshark-dev: Re: [Wireshark-dev] Swap 'v'|'V' options for editcap and mergecap

From: "Maynard, Christopher" <Christopher.Maynard@xxxxxxx>
Date: Tue, 19 Oct 2021 02:12:54 +0000
It would be nice if they were all documented too.  See also: https://gitlab.com/wireshark/wireshark/-/issues/15483.
- Chris

> -----Original Message-----
> From: Wireshark-dev <wireshark-dev-bounces@xxxxxxxxxxxxx> On Behalf
> Of Gerald Combs
> Sent: Monday, October 18, 2021 9:48 PM
> To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>;
> chuck c <bubbasnmp@xxxxxxxxx>
> Subject: Re: [Wireshark-dev] Swap 'v'|'V' options for editcap and mergecap
>
> CAUTION: This email originated outside of IGT. Do not click links or open
> attachments unless you recognize the sender and know the content is safe.
>
>
>
> I'm not sure if we've ever swapped flags, but Wireshark's "-m" flag was
> marked as deprecated prior to the 2.2 release (bcae998048) and removed
> prior to 2.4 (37252634c4). I don't have any objections to doing something
> similar for the "-v" and "-V" flags.
>
> On 10/16/21 11:35 AM, chuck c wrote:
> > Is there any precedent for changing command line options after a program
> has been in production for some time?
> >
> > Swapping "v" and "V" for editcap and mergecap would bring them in line
> with the other binaries for calling show_version().
> > And also align with the verbose option ('V') for tshark and tfshark.
> > (little disruption depending on how many scripts exist that use these
> commands)
> >
> > Another approach would be to drop "-v" for version and only support "--
> version" as tcpdump does:
> > https://www.tcpdump.org/manpages/tcpdump.1.html
> <https://www.tcpdump.org/manpages/tcpdump.1.html>
> > (big disruption since it's muscle memory to have Q&A people run
> "wireshark -v" and paste the output)
> >
> > https://code.wireshark.org/review/#/c/2489/
> <https://code.wireshark.org/review/#/c/2489/>
> > Add command-line argument to request the version to a number of the
> utilities.
> >
> > https://gitlab.com/wireshark/wireshark/-/commit/3773a756
> <https://gitlab.com/wireshark/wireshark/-/commit/3773a756>
> >











CONFIDENTIALITY NOTICE: This message is the property of International Game Technology PLC and/or its subsidiaries and may contain proprietary, confidential or trade secret information. This message is intended solely for the use of the addressee. If you are not the intended recipient and have received this message in error, please delete this message from your system. Any unauthorized reading, distribution, copying, or other use of this message or its attachments is strictly prohibited.