Re: [PATCH v2 2/2] parseopt: check for duplicate long names and numerical options
Jeff King <peff@peff.net> writes:
Show 9 quoted lines
> On Sat, Feb 28, 2026 at 10:19:16AM +0100, René Scharfe wrote:
>
>> Perform the slightly expensive string duplicate check only when showing
>> the usage to keep the cost of normal invocations low. t0012-help.sh
>> covers it.
>
> Nice, this seems like the perfect compromise to me. We get a runtime
> switch that kicks in at the moment we want, and we don't even have to
> pollute the world with a new switch or environment variable.
Yes, absolutely. This is very nice.