[pacman-dev] pacman -Q --print
I have a minor comment on pacman --print: pacman -Q --print is the same as pacman -Qp, so the result of "pacman -Qi evince --print" is 'error: package "evince" not found', because pacman searches for 'evince' package file. Clearly, it is stupid to use --print with -Q, but pacman shows that option with -Qh. I think we should not show "--print" with all -h operations, this is needless with (not yet implemented) -Dh, too. Then I think we can forget about my minor comment above. Bye
On Mon, Mar 15, 2010 at 10:55 PM, Nagy Gabor <ngaba@bibl.u-szeged.hu> wrote:
I have a minor comment on pacman --print: pacman -Q --print is the same as pacman -Qp, so the result of "pacman -Qi evince --print" is 'error: package "evince" not found', because pacman searches for 'evince' package file. Clearly, it is stupid to use --print with -Q, but pacman shows that option with -Qh.
I think we should not show "--print" with all -h operations, this is needless with (not yet implemented) -Dh, too. Then I think we can forget about my minor comment above.
You are right. A patch would be very nice.
participants (2)
-
Nagy Gabor
-
Xavier Chantry