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:
parent
09011ef726
commit
316720974c
1 changed files with 1 additions and 6 deletions
7
bin/pry
7
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
|
||||
|
|
Loading…
Reference in a new issue