1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-02 08:35:06 -04:00

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

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) */