brew-reinstall: don't list --force in args.

This commit is contained in:
Mike McQuaid committed 2013-09-01 13:57:40 +01:00
1 parent 1fd941d99e
commit f1e4f3ab99
1 file changed
+4 -1
+4 -1
View File
@@ -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