summaryrefslogtreecommitdiffstats
path: root/expac.c
diff options
context:
space:
mode:
Diffstat (limited to 'expac.c')
-rw-r--r--expac.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/expac.c b/expac.c
index 059a9d6..eee5fbc 100644
--- a/expac.c
+++ b/expac.c
@@ -537,10 +537,11 @@ static int print_pkg(alpm_pkg_t *pkg, const char *format) {
out += print_list(alpm_pkg_get_conflicts(pkg), NULL, shortdeps);
break;
case 'S': /* provides (shortdeps) */
- shortdeps = true;
- case 'P': /* provides */
out += print_list(alpm_pkg_get_provides(pkg), (extractfn)alpm_dep_get_name, shortdeps);
break;
+ case 'P': /* provides */
+ out += print_list(alpm_pkg_get_provides(pkg), (extractfn)alpm_dep_compute_string, shortdeps);
+ break;
case 'R': /* replaces */
out += print_list(alpm_pkg_get_replaces(pkg), NULL, shortdeps);
break;