xbps-bin: make the 'autoremove' target respect -f flag to bypass question.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091207055227-8kiks1f3k2tuoe2z
This commit is contained in:
Juan RP
2009-12-07 06:52:27 +01:00
parent 972af411d1
commit 2d68cec780
3 changed files with 14 additions and 19 deletions

View File

@@ -62,7 +62,7 @@ usage(void)
" -r\t\t<rootdir>\n"
" -v\t\tShows verbose messages\n"
" -V\t\tPrints the xbps release version\n"
" Options used by the (auto)remove and install target:\n"
" Options used by the install/(auto)remove/update targets:\n"
" -f\t\tBypasses the questions.\n"
"\n");
exit(EXIT_FAILURE);
@@ -256,7 +256,7 @@ main(int argc, char **argv)
if (argc != 1)
usage();
rv = xbps_autoremove_pkgs();
rv = xbps_autoremove_pkgs(force);
} else if (strcasecmp(argv[0], "purge") == 0) {
/*