From d238242214242e16055705078f294050572681ce Mon Sep 17 00:00:00 2001 From: Rob Gleeson Date: Thu, 5 May 2011 01:02:09 +0100 Subject: [PATCH] update the `hist` command banner. --- lib/pry/default_commands/input.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/pry/default_commands/input.rb b/lib/pry/default_commands/input.rb index deaadca3..b0c95131 100644 --- a/lib/pry/default_commands/input.rb +++ b/lib/pry/default_commands/input.rb @@ -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