mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-29 20:29:40 -05:00
brew-reinstall: don't list --force in args.
This commit is contained in:
1 parent
1fd941d99e
commit
f1e4f3ab99
1 file changed
+4
-1
@@ -23,7 +23,10 @@ module Homebrew extend self
|
||||
end
|
||||
# Todo: Be as smart as upgrade to restore the old state if reinstall fails.
|
||||
self.uninstall
|
||||
oh1 "Reinstalling #{name} #{ARGV.options_only*' '}"
|
||||
# Don't display --force in options; user didn't request it so a bit scary.
|
||||
options_only = ARGV.options_only
|
||||
options_only.delete "--force"
|
||||
oh1 "Reinstalling #{name} #{options_only*' '}"
|
||||
self.install
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user