[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <54638ccd-deb5-1212-b2fc-876ceaee67da@gmail.com>
Date: Wed, 6 Oct 2021 08:27:51 -0600
From: David Ahern <dsahern@...il.com>
To: Phil Sutter <phil@....cc>, Andrea Claudi <aclaudi@...hat.com>,
netdev@...r.kernel.org, stephen@...workplumber.org,
bluca@...ian.org
Subject: Re: [PATCH iproute2 v3 1/3] configure: support --param=value style
On 10/6/21 4:18 AM, Phil Sutter wrote:
> Hi Andrea,
>
> On Wed, Oct 06, 2021 at 11:49:34AM +0200, Andrea Claudi wrote:
> [...]
>> That was my first proposal in v1 [1]. I changed it on David's suggestion
>> to consolidate the two cases into a single one.
>
> Oh, sorry. I missed the 'v3' tag and hence didn't check any earlier
> version.
>
>> Looking at the resulting code, v3 code results in an extra check to
>> discriminate between the two use cases, while v0 uses the "case"
>> structure to the same end.
>
> Given that David explicitly requested the change I'm complaining about
> in his reply to your initial version, I guess any further debate about
> it is irrelevant.
>
I did not like the exploding duplication of checks on the value just to
support '=' in the command line.
Phil's suggestion seems reasonable.
Powered by blists - more mailing lists