From 3b804cb6543e10e3bc5f32af23925c35aadce444 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 12 Oct 2013 13:32:07 -0400 Subject: imply --print from --print-format --print-format is totally useless without --print. Implying --print will also save us the hassle of checking it when we add transaction option validation. Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- src/pacman/pacman.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/pacman/pacman.c') 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: -- cgit v1.2.3-54-g00ecf