From owner-svn-ports-all@FreeBSD.ORG Mon Sep 17 18:07:44 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7FA5B1065677 for ; Mon, 17 Sep 2012 18:07:44 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 423A38FC17 for ; Mon, 17 Sep 2012 18:07:44 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8HI7ho2068796 for ; Mon, 17 Sep 2012 18:07:43 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8HI7hmR068788 for svn-ports-all@freebsd.org; Mon, 17 Sep 2012 18:07:43 GMT (envelope-from bdrewery) Received: (qmail 6126 invoked from network); 17 Sep 2012 13:07:41 -0500 Received: from unknown (HELO ?192.168.0.74?) (freebsd@shatow.net@74.94.87.209) by sweb.xzibition.com with ESMTPA; 17 Sep 2012 13:07:41 -0500 Message-ID: <505766ED.6030906@FreeBSD.org> Date: Mon, 17 Sep 2012 13:07:41 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: Doug Barton References: <201209171714.q8HHEEtY057677@svn.freebsd.org> <50575D0F.6090502@FreeBSD.org> <50576033.2090201@FreeBSD.org> <505765F6.2080002@FreeBSD.org> In-Reply-To: <505765F6.2080002@FreeBSD.org> X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Alberto Villa , Chris Rees , svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r304411 - head X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2012 18:07:44 -0000 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 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@freenode/EFNet