diff options
author | Xavier Chantry <shiningxc@gmail.com> | 2008-08-24 02:29:10 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-08-25 18:06:51 -0500 |
commit | 9dbe5c9d1ee5fb00f25515dfb5a2feb3ae6ebd59 (patch) | |
tree | 9f071d996ef5652d7744144374adbfc30a92d9ae /src/pacman/callback.c | |
parent | a06d0de104d2f03c19b917ea47394d8d6be89a9a (diff) |
pacman : smarter optdepends handling.
During an upgrade, only the new optdepends will be displayed, to only keep
the useful information and not clutter pacman output too much.
The whole optdepends list is always available with -Si / -Qi.
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/callback.c')
-rw-r--r-- | src/pacman/callback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c index 3c98d398..59b40643 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -203,7 +203,7 @@ void cb_trans_evt(pmtransevt_t event, void *data1, void *data2) (char *)alpm_pkg_get_name(data1), (char *)alpm_pkg_get_version(data2), (char *)alpm_pkg_get_version(data1)); - display_optdepends(data1); + display_new_optdepends(data2,data1); break; case PM_TRANS_EVT_INTEGRITY_START: printf(_("checking package integrity...\n")); |