pacman: list all unknown targets on removal operation
commit62fa0c7d8d8cbb449e1e014eacd895011685a093
authorAllan McRae <allan@archlinux.org>
Sat, 10 Dec 2011 10:08:24 +0000 (10 20:08 +1000)
committerDan McGee <dan@archlinux.org>
Mon, 12 Dec 2011 18:45:40 +0000 (12 12:45 -0600)
treebd963647947a8c39341e56b488e8e5ba6d093ff2
parent781af8f91b5c8c6b804a0dcc0a47a7f8f018c6de
pacman: list all unknown targets on removal operation

On a removal operation, pacman currently reports an error for the
package that is not found in the database and then exists.  Adjust
so that all unknown packages are reported.

Before:
> pacman -R foo bar
error: 'foo': target not found

After:
> pacman -R foo bar
error: 'foo': target not found
error: 'bar': target not found

Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
src/pacman/remove.c