summaryrefslogtreecommitdiffstats
path: root/src/pacman/conf.h
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-10-06 22:45:10 +0200
committerAllan McRae <allan@archlinux.org>2014-10-13 04:54:29 +0200
commit01beca5df717252c7c9aa59bc705dc10a25ebdc8 (patch)
treeef37062e577f2441cc04c66b7fa4f853d200c088 /src/pacman/conf.h
parent7ddc967d7cf2b8de73095cb841ee2c5973a669e4 (diff)
downloadpacman-01beca5df717252c7c9aa59bc705dc10a25ebdc8.tar.gz
pacman-01beca5df717252c7c9aa59bc705dc10a25ebdc8.tar.xz
pacman: add --confirm option
--confirm cancels the effect of a previous --noconfirm. This makes it easier for scripts to default to --noconfirm but allow users to override it. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/conf.h')
-rw-r--r--src/pacman/conf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/conf.h b/src/pacman/conf.h
index 8aed6d6b..3141e2c3 100644
--- a/src/pacman/conf.h
+++ b/src/pacman/conf.h
@@ -131,6 +131,7 @@ enum {
enum {
OP_LONG_FLAG_MIN = 1000,
OP_NOCONFIRM,
+ OP_CONFIRM,
OP_CONFIG,
OP_IGNORE,
OP_DEBUG,