Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2004 12:26:55 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        obrien@freebsd.org
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)
Message-ID:  <1098181615.4174ebefefd87@netchild.homeip.net>
In-Reply-To: <20041018182522.GA10529@dragon.nuxi.com>
References:  <200410180534.i9I5YsGn053852@repoman.freebsd.org> <1098101272.4173b21825a40@netchild.homeip.net> <20041018173955.GB5737@dragon.nuxi.com> <xzpoeizgagq.fsf@dwp.des.no> <20041018182522.GA10529@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Zitat von David O'Brien <obrien@freebsd.org>:

[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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1098181615.4174ebefefd87>