Skip to content

Commit

Permalink
rely on slop providing help
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Jarvis committed Apr 24, 2011
1 parent 09011ef commit 3167209
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions bin/pry
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3167209

Please sign in to comment.