Closed eitoball closed 12 years ago
Cool!!
This should be fixed in https://github.com/injekt/slop/issues/86 you should be able to remove any hacks now once I've released a new bugfix version. Sorry for the issue, please let me know in the Slop tracker if you find anything weird happening, or of course if there's anything you'd like integrated to help earthquake.
I've also noticed that you've bumped to Slop 3.0 without fixing any of the incompatibilities with 2.0. Mostly here from what I can see. Slop 3 doesn't support the true
option sent to the command, instead you should use :command=
to signify that option expects an argument, or the :argument => true
config option.
@injekt thanks for fix and suggestion. I will try to write and submit a patch based on your suggestion this weekend.
This PR should fix issue #134, but it is really ugly. The ugly part is to work around a bug in slop. For example,
I think that this should be true. Maybe, slot 2.x returns true?
Anyway, this command parsing logic should be refactored like discussed in #121.