mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
now using listing for aliasing amend-line instead of full regex
This commit is contained in:
parent
57fe907c58
commit
8f08cf7300
1 changed files with 1 additions and 1 deletions
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue