1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
pry--pry/lib
Kyrylo Silin 2e33c98d97 Improve -I option support
Namely, add support for multiple arguments for the `-I` option. For
example:

  % pry -Ilib:../code/src

Where `:` is the delimiter for paths. In the example above `./lib` and
`../code/src` directories will be added to $LOAD_PATH array.

Also, there was a bug in Slop with respect to parsing of "fuzzy options
with arguments"[1]. It is fixed now, so the next version of Slop will
indirectly resolve our issue #674 (-r/--require doesn't behave like
irb's)[2].

And finally, wrap some very long lines in the "cli.rb" (this is just a
cosmetic change).

[1]: https://github.com/injekt/slop/issues/74
[2]: https://github.com/pry/pry/issues/674

Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
2012-08-16 03:05:34 +03:00
..
pry Improve -I option support 2012-08-16 03:05:34 +03:00
pry.rb Remember the initial pwd [Fixes #675] 2012-08-12 22:58:40 -07:00