summaryrefslogtreecommitdiff
path: root/lib/rubygems/command.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/command.rb4
1 files changed, 3 insertions, 1 deletions
@@ -456,7 +456,9 @@ class Gem::Command
until extra.empty? do
ex = []
ex << extra.shift
- ex << extra.shift if extra.first.to_s =~ /^[^-]/
result << ex if handles?(ex)
end