mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
update the hist
command banner.
This commit is contained in:
parent
d5cbbf8630
commit
d238242214
1 changed files with 1 additions and 3 deletions
|
@ -12,9 +12,7 @@ class Pry
|
|||
history = Readline::HISTORY.to_a
|
||||
|
||||
Slop.parse(args) do |opt|
|
||||
opt.banner "Usage: hist [--replay START..END]\n" \
|
||||
"View and replay history\n" \
|
||||
"e.g hist --replay 2..8"
|
||||
opt.banner "Usage: hist [--replay START..END] [--clear] [--grep PATTERN] [--help]\n"
|
||||
|
||||
opt.on :g, :grep, 'A pattern to match against the history.', true do |pattern|
|
||||
pattern = Regexp.new pattern
|
||||
|
|
Loading…
Reference in a new issue