1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

rely on slop providing help

This commit is contained in:
Lee Jarvis 2011-04-24 15:33:34 +01:00
parent 09011ef726
commit 316720974c

View file

@ -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