From owner-freebsd-arch@FreeBSD.ORG Tue Oct 19 10:27:13 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69F5A16A4CE; Tue, 19 Oct 2004 10:27:13 +0000 (GMT) Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65C8B43D54; Tue, 19 Oct 2004 10:27:10 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd05.aul.t-online.de by mailout04.sul.t-online.com with smtp id 1CJrCs-000615-0C; Tue, 19 Oct 2004 12:27:06 +0200 Received: from Andro-Beta.Leidinger.net (GWWRAvZ6ZeZJucSierJR-Wve8zZfBNwwvHuaKdoR5wC-cQtG4QPLUL@[217.83.28.19]) by fmrl05.sul.t-online.com with esmtp id 1CJrCo-1at0RE0; Tue, 19 Oct 2004 12:27:02 +0200 Received: from Andro-Beta.Leidinger.net (localhost [127.0.0.1]) i9JAQxLd034512; Tue, 19 Oct 2004 12:26:59 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: (from www@localhost)i9JAQwLk034511; Tue, 19 Oct 2004 12:26:58 +0200 (CEST) (envelope-from Alexander@Leidinger.net) X-Authentication-Warning: Andro-Beta.Leidinger.net: www set sender to Alexander@Leidinger.net using -f Received: from wwwproxy-2.sns-felb.debis.de (wwwproxy-2.sns-felb.debis.de [53.122.192.14]) by netchild.homeip.net (IMP) with HTTP for ; Tue, 19 Oct 2004 12:26:55 +0200 Message-ID: <1098181615.4174ebefefd87@netchild.homeip.net> Date: Tue, 19 Oct 2004 12:26:55 +0200 From: Alexander Leidinger To: obrien@freebsd.org References: <200410180534.i9I5YsGn053852@repoman.freebsd.org> <1098101272.4173b21825a40@netchild.homeip.net> <20041018173955.GB5737@dragon.nuxi.com> <20041018182522.GA10529@dragon.nuxi.com> In-Reply-To: <20041018182522.GA10529@dragon.nuxi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.6 / FreeBSD-4.10 X-Originating-IP: 53.122.192.14 X-ID: GWWRAvZ6ZeZJucSierJR-Wve8zZfBNwwvHuaKdoR5wC-cQtG4QPLUL@t-dialin.net X-TOI-MSGID: 4551b876-8164-4acc-8d5d-b6de7218f393 cc: Dag-Erling Sm?rgrav cc: arch@freebsd.org Subject: Quiet mode for pkg_install (was: Re: cvs commit: src/usr.sbin/pkg_install/info info.h main.c src/usr.sbin/pkg_install/lib global.c lib.h src/usr.sbin/pkg_install/version main.c perform.c pkg_version.1) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 10:27:13 -0000 Zitat von David O'Brien : [Moved to arch@] > One might want a list of packages for other things. I can't believe a > simple -q[uiet] switch is being bike shed. No, wait, this is FreeBSD I > *can* believe it. It's a nice feature, no objections, sorry if I sounded as if I object to it. But I think the implementation can be improved (from an usability point of view). When you use "-l", you already know if it is "<", "=" or ">", since you explicitely asked for it. So you don't need to have a "-q" switch here, it's enough to just omit the status indicator for "-l" by default. If you omit "-l" you don't need -q either, you can use ls to get a list of installed ports/packages when you don't want to see the status indicator. This covers all cases you seem to care about (judging from the commit log and your reply). For other cases (e.g. "-L") I don't see a need for a -q option. This doesn't mean much, I can't predict every use of pkg_version, but so far I'm not aware of someone who asked for such a feature. If you know someone who needs -q together with -L please tell me about it, I'm curious where it's needed. So it's not about bikesheding about "yes or no". It's about good usability. If you don't care about it, it's fine for me. I don't need this feature, so I spend my time on other (more important) things. Bye, Alexander. -- http://www.Leidinger.net/ Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org/ netchild @ FreeBSD.org : PGP ID = 72077137 Reisner's Rule of Conceptual Inertia: If you think big enough, you'll never have to do it.