xbps-bin(8): if -f is set, remove files and configuration files even

if its hash doesn't match for the remove and purge targets respectively.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20100125070948-841kw2r4knz2793e
This commit is contained in:
Juan RP
2010-01-25 08:09:48 +01:00
parent 17d87b3559
commit 1c4d43306a
4 changed files with 34 additions and 14 deletions

View File

@ -1,5 +1,5 @@
/*-
* Copyright (c) 2008-2009 Juan Romero Pardines.
* Copyright (c) 2008-2010 Juan Romero Pardines.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -61,8 +61,8 @@ usage(void)
" -V\t\tPrints the xbps release version\n"
" Options used by the install/(auto)remove/update targets:\n"
" -y\t\tAssume \"yes\" for all questions.\n"
" Options used by the reconfigure target:\n"
" -f\t\tForce reconfiguration.\n"
" Options used by the purge/reconfigure/remove targets:\n"
" -f\t\tForce reconfiguration or removal of files.\n"
"\n");
exit(EXIT_FAILURE);
}