From 128427c467071d2300dacc4636fbe30bfb109b9a Mon Sep 17 00:00:00 2001 From: Samuel Giddins Date: Sun, 12 Feb 2017 14:53:11 -0800 Subject: [CLI] Re-allow bundle help --no-color --- lib/bundler/cli.rb | 3 +++ 1 file changed, 3 insertions(+) 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]) -- cgit v1.2.1