No short switch for --head, because it conflicts with --help.

This commit is contained in:
Rob Gleeson 2011-05-16 23:07:54 +01:00
parent e24f4449d7
commit 1f93d50faa
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class Pry
stagger_output history.compact.join "\n"
end
opt.on :h, :head, 'Display the first N items of history', :optional => true, :as => Integer do |limit|
opt.on :head, 'Display the first N items of history', :optional => true, :as => Integer do |limit|
unless opt.grep?
limit ||= 10
list = history.first limit