summaryrefslogtreecommitdiff
path: root/exe
diff options
context:
space:
mode:
Diffstat (limited to 'exe')
-rwxr-xr-xexe/bundle2
1 files changed, 1 insertions, 1 deletions
diff --git a/exe/bundle b/exe/bundle
index ab2bde16e2..d73e9984c9 100755
--- a/exe/bundle
+++ b/exe/bundle
@@ -28,7 +28,7 @@ Bundler.with_friendly_errors do
require "bundler/cli"
# Allow any command to use --help flag to show help for that command
- help_flags = %w(--help -h)
+ help_flags = %w[--help -h]
help_flag_used = ARGV.any? {|a| help_flags.include? a }
args = help_flag_used ? Bundler::CLI.reformatted_help_args(ARGV) : ARGV