Wireshark mailing list archives
Re: extcap command line parameter format
From: Guy Harris <guy () alum mit edu>
Date: Fri, 27 Jul 2018 10:40:33 -0700
Oh, and another thing not to do: Don't repurpose a command-line flag intended for one purpose for another unrelated purpose. For example, don't repurpose a command-line flag (for concreteness, let's pick the hypothetical example of a flag called "--extcap-version"), intended for one purpose (in this hypothetical example, used to ask a program to report its version number), for a separate purpose (in this hypothetical example, used to tell a program the version number of the program running that other program), with the two unrelated meanings distinguished based on whether the flag has an argument or not. I.e., for Wireshark 3.0, let's do the latter function with --extcap-wireshark-version X.Y or --extcap-wireshark-version=X.Y, with --extcap-version *never* taking an argument and *always* meaning "report your version number" and with --extcap-wireshark-version *always* taking an argument and *always* meaning "here's the version of Wireshark that's running you". ___________________________________________________________________________ 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:
- extcap command line parameter format Jaap Keuter (Jul 20)
- Re: extcap command line parameter format Jaap Keuter (Jul 23)
- Re: extcap command line parameter format Guy Harris (Jul 23)
- Re: extcap command line parameter format Guy Harris (Jul 26)
- Re: extcap command line parameter format Guy Harris (Jul 26)
- Re: extcap command line parameter format Guy Harris (Jul 27)
- Re: extcap command line parameter format Guy Harris (Jul 27)
- Re: extcap command line parameter format Jaap Keuter (Jul 29)
- Re: extcap command line parameter format Roland Knall (Jul 29)
- Re: extcap command line parameter format Guy Harris (Jul 29)
- Re: extcap command line parameter format Roland Knall (Jul 29)