summaryrefslogtreecommitdiffstats
path: root/src/pacman/conf.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-11 08:00:47 +0200
committerDan McGee <dan@archlinux.org>2011-08-11 18:19:04 +0200
commitf3fa77bcf1d792971c314f8c0de255866e89f3f3 (patch)
tree101a954e5f50f1e4fdbcb036d498af9c25a173d9 /src/pacman/conf.h
parent1f6afe6b0b3e1f222b5624e93af6e6272afea423 (diff)
downloadpacman-f3fa77bcf1d792971c314f8c0de255866e89f3f3.tar.gz
pacman-f3fa77bcf1d792971c314f8c0de255866e89f3f3.tar.xz
Add -S --recursive operation
This closely matches what we had before for -R --recursive. Basically, when specifying a target (e.g., pacman), we can now recursively pull all dependencies, regardless of version specifiers and whether they are already satisfied in the local database. This could be used to update pacman on a system with an old glibc, for example, as both pacman and glibc would get pulled into the transaction. This is most useful with --needed to prevent needless reinstalls as described in the man page changes. The end goal of this change is to wire it into SyncFirst and have it be the default mode of operation there, but that belongs in a separate changeset. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/conf.h')
-rw-r--r--src/pacman/conf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pacman/conf.h b/src/pacman/conf.h
index bce42ab5..33a87983 100644
--- a/src/pacman/conf.h
+++ b/src/pacman/conf.h
@@ -123,7 +123,8 @@ enum {
OP_ASEXPLICIT,
OP_ARCH,
OP_PRINTFORMAT,
- OP_GPGDIR
+ OP_GPGDIR,
+ OP_RECURSIVE
};
/* clean method */