xbps-bin: new dry-run mode (-n) for (auto)update, (auto)remove and install targets.

This commit is contained in:
Juan RP
2012-02-03 14:53:28 +01:00
parent 7fd4b16156
commit 3afa3ba93b
5 changed files with 67 additions and 17 deletions

View File

@@ -48,9 +48,9 @@ struct list_pkgver_cb {
int install_new_pkg(const char *, bool);
int update_pkg(const char *);
int remove_pkg(const char *, bool);
int autoupdate_pkgs(bool, bool);
int autoremove_pkgs(bool);
int exec_transaction(bool, bool);
int autoupdate_pkgs(bool, bool, bool);
int autoremove_pkgs(bool, bool);
int exec_transaction(bool, bool, bool);
/* from remove.c */
int remove_installed_pkgs(int, char **, bool, bool, bool, bool);