svn commit: r304411 - head

Bryan Drewery bdrewery at freebsd.org
Mon Sep 17 18:07:44 UTC 2012


On 9/17/2012 1:03 PM, Doug Barton wrote:
> On 09/17/2012 10:54, Alberto Villa wrote:
>> On Mon, Sep 17, 2012 at 7:38 PM, Doug Barton <dougb at freebsd.org> wrote:
>>> My point was not, "Teach me the pkg syntax for the -o option." My point
>>> was, "It's stupid for pkg to use exactly the opposite syntax from the 2
>>> most popular ports management tools for the same option flag."
>>
>> "old:new" is more intuitive than "-o new old" from portmaster (I guess
>> portupgrade does the same). It's what people is accustomed to from
>> tools like `sed`, too.
> 
> I don't disagree with you, but that's not the point.
> 
> When I was asked to add the -o option to portmaster it only made sense
> to copy the syntax that portupgrade users were already familiar with.
> Sometimes in UI design you have to go with the flow, rather than
> implementing your own personal idea of "perfect."
> 
> The best option would have been for pkg to use the same flag, and the
> same syntax. The second best option would have been to use a different
> flag (given that apparently pkg's -o option does something different
> than what portupgrade and portmaster do?). Using the same option flag,
> but with different syntax, is the worst possible choice.

FWIW I agree with you completely.

> 
> I realize that it's too late for pkg to change, but hopefully by
> pointing this out someone else can learn something.
> 
> Doug
> 


-- 
Regards,
Bryan Drewery
bdrewery at freenode/EFNet



More information about the svn-ports-all mailing list