diff options
author | Chantry Xavier <xav@chantry.homelinux.org> | 2007-05-20 01:20:07 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-05-20 01:20:07 -0500 |
commit | 51225b326310af23e5ceda0c6cd6cc563901ccab (patch) | |
tree | 27d5d1d34c59f9fb7a6b865dea7b619b640c3308 /src/pacman/pacman.c | |
parent | ebad1996149d72cf4a1fe15fe8326f2b4996f585 (diff) |
Add -Qee option for the original behavior of -Qe
-Qee now lists "orphans" the way pacman used to - that
is, -Qe lists packages required by nothing that were
installed as a dependency, but -Qee lists all packages
not required by something else.
Also, I snuck in a compile fix for my real_path cleanup earlier, heh
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'src/pacman/pacman.c')
-rw-r--r-- | src/pacman/pacman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index fe70ea10..58e85b22 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -386,7 +386,7 @@ static int parseargs(int argc, char *argv[]) break; case 'd': config->flags |= PM_TRANS_FLAG_NODEPS; break; case 'e': - config->op_q_orphans = 1; + config->op_q_orphans++; config->flags |= PM_TRANS_FLAG_DEPENDSONLY; break; case 'f': config->flags |= PM_TRANS_FLAG_FORCE; break; |