summaryrefslogtreecommitdiff
path: root/lib/pry/commands/hist.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pry/commands/hist.rb')
-rw-r--r--lib/pry/commands/hist.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/pry/commands/hist.rb b/lib/pry/commands/hist.rb
index 390e992d..332176d2 100644
--- a/lib/pry/commands/hist.rb
+++ b/lib/pry/commands/hist.rb
@@ -52,8 +52,6 @@ class Pry
@history.take_lines(1, opts[:head] || 10)
elsif opts.present?(:tail)
@history.take_lines(-(opts[:tail] || 10), opts[:tail] || 10)
- elsif opts.present?(:show)
- @history.between(opts[:show])
else
@history
end