index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/pacman.c | 1 |
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 744b1899..e601a14d 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -495,6 +495,7 @@ static int parseargs(int argc, char *argv[]) setarch(optarg); break; case OP_PRINTFORMAT: + check_optarg(); config->print_format = strdup(optarg); break; case 'Q': config->op = (config->op != PM_OP_MAIN ? 0 : PM_OP_QUERY); break; |