remove.c: make "target not found" error consistent with sync.c

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Andrew Gregory 2012-02-04 11:05:13 -05:00 committed by Dan McGee
parent 0fdf0b19ce
commit 216db87f99
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ static int remove_target(const char *target)
/* fallback to group */
alpm_group_t *grp = alpm_db_readgroup(db_local, target);
if(grp == NULL) {
pm_printf(ALPM_LOG_ERROR, "'%s': target not found\n", target);
pm_printf(ALPM_LOG_ERROR, _("target not found: %s\n"), target);
return -1;
}
for(p = grp->packages; p; p = alpm_list_next(p)) {