From 1ada16f0177f9bfcaed95cf3b71b7029290a5f1d Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Thu, 18 Jun 2015 00:15:44 +1000 Subject: Fix formatting in parsearg_upgrade Signed-off-by: Allan McRae --- src/pacman/pacman.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index fce0131c..764193e6 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -724,10 +724,18 @@ static int parsearg_upgrade(int opt) return 0; } switch(opt) { - case OP_FORCE: config->flags |= ALPM_TRANS_FLAG_FORCE; break; - case OP_ASDEPS: config->flags |= ALPM_TRANS_FLAG_ALLDEPS; break; - case OP_ASEXPLICIT: config->flags |= ALPM_TRANS_FLAG_ALLEXPLICIT; break; - case OP_NEEDED: config->flags |= ALPM_TRANS_FLAG_NEEDED; break; + case OP_FORCE: + config->flags |= ALPM_TRANS_FLAG_FORCE; + break; + case OP_ASDEPS: + config->flags |= ALPM_TRANS_FLAG_ALLDEPS; + break; + case OP_ASEXPLICIT: + config->flags |= ALPM_TRANS_FLAG_ALLEXPLICIT; + break; + case OP_NEEDED: + config->flags |= ALPM_TRANS_FLAG_NEEDED; + break; case OP_IGNORE: parsearg_util_addlist(&(config->ignorepkg)); break; -- cgit v1.2.3-70-g09d2