summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-02-12 14:53:11 -0800
committerSamuel Giddins <segiddins@segiddins.me>2017-02-12 14:53:11 -0800
commit128427c467071d2300dacc4636fbe30bfb109b9a (patch)
tree534688c5e28cfd7c1b17a2324b80a74a57bbe80e
parent79fb5d38692466b88852631e4de145fe82d94121 (diff)
downloadbundler-seg-update-thor.tar.gz
[CLI] Re-allow bundle help --no-colorseg-update-thor
-rw-r--r--lib/bundler/cli.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index d6e811b41a..208f21c74b 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -85,6 +85,9 @@ 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])