[pacman-dev] [PATCH] Introduce -Qlq

Dan McGee dpmcgee at gmail.com
Tue May 12 08:27:28 EDT 2009


On Tue, May 12, 2009 at 4:39 AM, Nagy Gabor <ngaba at bibl.u-szeged.hu> wrote:
>> On Sun, May 10, 2009 at 3:04 PM, Nagy Gabor <ngaba at bibl.u-szeged.hu>
>> wrote:
>>>
>>> >From 054eae27537989dee76a06fac882fb38702144d5 Mon Sep 17 00:00:00 2001
>>> From: Nagy Gabor <ngaba at bibl.u-szeged.hu>
>>> Date: Sun, 10 May 2009 22:41:29 +0200
>>> Subject: [PATCH] Introduce -Qlq
>>>
>>> With --quiet flag, -Ql doesn't print the package name only lists files.
>>> I made --quiet documentation up-to-date (I also added -Sgq/-Qgq).
>>>
>>> Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
>>
>> Thanks! I like this, and thanks for updating the docs.
>>
>> One small point- does anyone see a good reason to keep the version
>> information on a -Qo operation? It is the only user of the quiet flag
>> that prints it, and it would be more consistent to not show it. I'm
>> going to go ahead and change that.
>
> I also realized this and it seems odd, indeed. If there is no real reason
> for printing version there (I am not the guy who made the "print version
> here" decision), I also vote for killing version from -Qqo. One more thing
> about -Qqo: I am not sure we need "error: No package owns /foo/bar" with
> that, but I am a bit unsure about this.

Already done:
http://projects.archlinux.org/?p=pacman.git;a=commitdiff;h=20017354f7ccb58bf4f78691985a5d237f4dbc90

I'm not sure about the error thing either. Silence might be best,
although then it is harder to tell the different failure cases apart
(file not found, no package owns, specified a directory, etc.).

-Dan


More information about the pacman-dev mailing list