Fix merge conflict.

This commit is contained in:
Rob Gleeson 2011-05-23 11:27:23 +01:00
parent 3c194717c0
commit dfb7bf472d
1 changed files with 2 additions and 1 deletions

View File

@ -134,6 +134,7 @@ class Pry
commands[new_name].description = desc if desc
end
$i = 0
# Runs a command.
# @param [Object] context Object which will be used as self during the
# command.
@ -151,7 +152,7 @@ class Pry
if command.options[:argument_required] && args.empty?
puts "The command '#{command.name}' requires an argument."
else
command.call(context, *args)
command.call context, *args
end
end