Wireshark mailing list archives

Swap 'v'|'V' options for editcap and mergecap


From: chuck c <bubbasnmp () gmail com>
Date: Sat, 16 Oct 2021 13:35:16 -0500

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
(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/
Add command-line argument to request the version to a number of the
utilities.

https://gitlab.com/wireshark/wireshark/-/commit/3773a756
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: