_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
07-18-2008, 01:22 AM
"Dan McGee"
-Sqg and -Qqg
On Wed, Jul 16, 2008 at 7:53 AM, Nagy Gabor <ngaba@bibl.u-szeged.hu> wrote:
> >From cc336eb3e44038fa1f7416d3dc79fc6dbe9e0004 Mon Sep 17 00:00:00 2001
> From: Nagy Gabor <ngaba@bibl.u-szeged.hu>
> Date: Wed, 16 Jul 2008 14:42:25 +0200
> Subject: [PATCH] -Sqg and -Qqg
>
> With --quiet, "pacman -Sg grp" and "pacman -Qg grp" don't list group names.
> "pacman -Qgq" and "pacman -Sggq" (without targets) still list group names.
The patch looks fine, but this commit message confuses me. The second
sentence should list commands without the -q option, right?
_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
07-18-2008, 06:32 AM
Xavier
-Sqg and -Qqg
Dan McGee wrote:
> On Wed, Jul 16, 2008 at 7:53 AM, Nagy Gabor <ngaba@bibl.u-szeged.hu> wrote:
>> >From cc336eb3e44038fa1f7416d3dc79fc6dbe9e0004 Mon Sep 17 00:00:00 2001
>> From: Nagy Gabor <ngaba@bibl.u-szeged.hu>
>> Date: Wed, 16 Jul 2008 14:42:25 +0200
>> Subject: [PATCH] -Sqg and -Qqg
>>
>> With --quiet, "pacman -Sg grp" and "pacman -Qg grp" don't list group names.
>> "pacman -Qgq" and "pacman -Sggq" (without targets) still list group names.
>
> The patch looks fine, but this commit message confuses me. The second
> sentence should list commands without the -q option, right?
>
What that means is that, with or without -q, pacman -Qg amd pacman -Sgg
(without targets) still behave the same, by listing group names.
_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
07-18-2008, 09:57 AM
Nagy Gabor
-Sqg and -Qqg
> > The patch looks fine, but this commit message confuses me. The
> > second sentence should list commands without the -q option, right?
> >
>
> What that means is that, with or without -q, pacman -Qg amd pacman
> -Sgg (without targets) still behave the same, by listing group names.
>
Yes. IMHO nobody wants to use "pacman -Sqgg" or "pacman -Qqg" to list
packages contained in *some* group. Basically these commands list groups
(with members), not _members of a group_ like "pacman -Sg group".
I agree that this may be not coherent, but imho groupname filtering in
these cases is pointless. So in commit message I should have said that
-q has no effect when no target is specified. If you need this
filtering there too, I can resubmit the patch.
Bye
_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev