summaryrefslogtreecommitdiffstats
path: root/expac.c
diff options
context:
space:
mode:
Diffstat (limited to 'expac.c')
-rw-r--r--expac.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/expac.c b/expac.c
index a87f0e0..92a61f3 100644
--- a/expac.c
+++ b/expac.c
@@ -453,6 +453,9 @@ static void print_pkg(alpm_pkg_t *pkg, const char *format)
case 'n': /* package name */
out += printf(fmt, alpm_pkg_get_name(pkg));
break;
+ case 'e': /* package base */
+ out += printf(fmt, alpm_pkg_get_base(pkg));
+ break;
case 'v': /* version */
out += printf(fmt, alpm_pkg_get_version(pkg));
break;