summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2015-06-17 16:15:44 +0200
committerAllan McRae <allan@archlinux.org>2015-07-14 12:46:03 +0200
commit1ada16f0177f9bfcaed95cf3b71b7029290a5f1d (patch)
treec1ea15b92b4bf196433838c15758c10ce9883d85 /src
parent2d7a41539b73b373b63d7e2d61ed519e19878799 (diff)
downloadpacman-1ada16f0177f9bfcaed95cf3b71b7029290a5f1d.tar.gz
pacman-1ada16f0177f9bfcaed95cf3b71b7029290a5f1d.tar.xz
Fix formatting in parsearg_upgrade
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/pacman.c16
1 files changed, 12 insertions, 4 deletions
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;