summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bundle2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bundle b/bin/bundle
index cf03a523ab..aaf773745d 100755
--- a/bin/bundle
+++ b/bin/bundle
@@ -23,7 +23,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