diff options
-rw-r--r-- | expac.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |