summaryrefslogtreecommitdiff
path: root/lib/rubygems/command.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/command.rb10
1 files changed, 4 insertions, 6 deletions
@@ -429,12 +429,10 @@ class Gem::Command
# True if the command handles the given argument list.
def handles?(args)
- begin
- parser.parse!(args.dup)
- return true
- rescue StandardError
- return false
- end
end
##