summaryrefslogtreecommitdiff
path: root/src/pacman/pacman.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/pacman.c')
-rw-r--r--src/pacman/pacman.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 93baa441..11f92cf7 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -574,6 +574,7 @@ static int parsearg_trans(int opt)
break;
case OP_PRINTFORMAT:
check_optarg();
+ config->print = 1;
config->print_format = strdup(optarg);
break;
default: