svn commit: r304411 - head

Doug Barton dougb at
Mon Sep 17 18:03:35 UTC 2012

On 09/17/2012 10:54, Alberto Villa wrote:
> On Mon, Sep 17, 2012 at 7:38 PM, Doug Barton <dougb at> 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.

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



    I am only one, but I am one.  I cannot do everything, but I can do
    something.  And I will not let what I cannot do interfere with what
    I can do.
			-- Edward Everett Hale, (1822 - 1909)

More information about the svn-ports-all mailing list