diff --git a/lib/pry/default_commands/input.rb b/lib/pry/default_commands/input.rb index e6e94ceb..ad188c3d 100644 --- a/lib/pry/default_commands/input.rb +++ b/lib/pry/default_commands/input.rb @@ -57,7 +57,7 @@ class Pry run "show-input" end - alias_command(/%.?(-?\d+)?(?:\.\.(-?\d+))?/, /amend-line(?: (-?\d+)(?:\.\.(-?\d+))?)?/) + alias_command(/%.?(-?\d+)?(?:\.\.(-?\d+))?/, "amend-line") command "play", "Play back a string variable or a method or a file as input. Type `play --help` for more information." do |*args| opts = Slop.parse!(args) do |opt|