mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 08:18:51 -05: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:
parent
4d286e567b
commit
4d9b5d4a2a
@ -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) */
|
||||
|
Loading…
Reference in New Issue
Block a user