From 316720974c8c94b4c9804d86fce6806b1d8c539c Mon Sep 17 00:00:00 2001 From: Lee Jarvis Date: Sun, 24 Apr 2011 15:33:34 +0100 Subject: rely on slop providing help --- bin/pry | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'bin') diff --git a/bin/pry b/bin/pry index e0909467..13574423 100644 --- a/bin/pry +++ b/bin/pry @@ -10,7 +10,7 @@ rescue LoadError require 'pry' end -opts = Slop.parse do +opts = Slop.parse(:help => true) do banner %{Usage: pry [OPTIONS] Start a Pry session. See: `https://github.com/banister` for more information. @@ -43,11 +43,6 @@ See: `https://github.com/banister` for more information. true, :default => "TOPLEVEL_BINDING" ) - - on :h, :help, "This message" do - puts help - exit - end end # invoked via cli -- cgit v1.2.1