Conrad Irwin
e073092e7c
Fix the superficial slop errors
2012-05-29 20:33:52 -07:00
Conrad Irwin
bb48077241
Remove parse_options! API
...
Having classy commands means it's much easier to implement, so we just
require those instead.
2011-12-31 16:05:14 +00:00
Conrad Irwin
322460f06d
Explicitly extract help from Options object [ Fixes #381 ]
...
Without this, when the default implementation of puts on ruby-1.9.2
tries to call .to_ary on the options object, you get:
ArgumentError: no id given
gems/ruby-1.9.2-p290@pry/gems/slop-2.4.2/lib/slop.rb:705:in `method_missing'
2011-12-23 18:43:44 +00:00
Conrad Irwin
560a6cbd79
Ensure show-method -h works in ruby-1.9.2 [ fixes #374 ]
2011-12-13 23:09:32 -08:00
Conrad Irwin
91a249845e
Handle -m/-M correctly [ Fixes #365 ]
2011-12-07 22:36:16 -08:00
Ryan Fitzgerald
9a55514aa2
Revert "Use new :as => :count functionality from Slop"
...
This reverts commit 1b29adb061
.
2011-12-04 16:32:18 -08:00
Conrad Irwin
1b29adb061
Use new :as => :count functionality from Slop
...
[requires Slop 2.2.0]
2011-12-03 23:41:50 -08:00
Conrad Irwin
6512d82b7f
Stop using broken Slop API
...
Re Issue #354 , Issue #308 , et.al.
2011-11-26 14:26:26 -08:00
Conrad Irwin
235c55d9b1
Slightly deshonkify parse_options! API.
2011-10-15 23:20:54 -07:00
Conrad Irwin
50e5d47ee7
Add --super to show-method, edit-method et.al.
2011-10-15 01:49:26 -07:00
Conrad Irwin
ffce50a392
Make parse_options! abort the command if --help is passed
2011-10-15 01:35:24 -07:00
Conrad Irwin
bf85c62c42
Share argument parsing code for methody commands
2011-10-15 01:35:24 -07:00