summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-07-08 10:53:39 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2017-08-16 14:09:50 -0400
commitb054108107d54b068a175a3df57043fc55154649 (patch)
tree6f5a5bde7c4ec26a2c00a2d9d94de0aa9129367f
parent6bf33201be49b45d40a024634bdb02fc4ea067d7 (diff)
downloadbundler-b054108107d54b068a175a3df57043fc55154649.tar.gz
Remove hack for help accepting --no-color
-rw-r--r--lib/bundler/cli.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index df5bad7321..70d210b9e9 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -103,9 +103,6 @@ module Bundler
end
end
- # Ensure `bundle help --no-color` is valid
- all_commands["help"].disable_class_options = false
-
def self.handle_no_command_error(command, has_namespace = $thor_runner)
if Bundler.feature_flag.plugins? && Bundler::Plugin.command?(command)
return Bundler::Plugin.exec_command(command, ARGV[1..-1])