summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLee Jarvis <lee@jarvis.co>2011-04-24 15:33:34 +0100
committerLee Jarvis <lee@jarvis.co>2011-04-24 15:33:34 +0100
commit316720974c8c94b4c9804d86fce6806b1d8c539c (patch)
treebeaccb4fd59a7db4b042fc170db99ba94ecf0e54 /bin
parent09011ef7263eb89615f2ee9ff656f961d69c9e93 (diff)
downloadpry-316720974c8c94b4c9804d86fce6806b1d8c539c.tar.gz
rely on slop providing help
Diffstat (limited to 'bin')
-rw-r--r--bin/pry7
1 files changed, 1 insertions, 6 deletions
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