pacman/query.c : return after a query on all packages.

Previously, the following error was displayed even after a valid
and successful query operation on all packages,
like -Q , -Ql, -Qi, -Qil :
no targets specified (use -h for help)

Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
This commit is contained in:
Chantry Xavier 2007-07-02 11:29:05 +02:00 committed by Dan McGee
parent 4d286e567b
commit 4d9b5d4a2a
1 changed files with 1 additions and 0 deletions

View File

@ -400,6 +400,7 @@ int pacman_query(alpm_list_t *targets)
printf("%s %s\n", pkgname, pkgver);
}
}
return(0);
}
/* Second: operations that require target(s) */