diff options
author | John Mair <jrmair@gmail.com> | 2011-03-03 00:18:26 +1300 |
---|---|---|
committer | John Mair <jrmair@gmail.com> | 2011-03-03 00:18:26 +1300 |
commit | f1c5fa4a69014b8be2640f110b4306f9bd51734f (patch) | |
tree | bcb1b6583eaf58627a97da1845e3aed9f4af3add /bin/pry | |
parent | 7ed6c17ebc98ef60bf425bf5a2dd1f0f776e109d (diff) | |
download | pry-f1c5fa4a69014b8be2640f110b4306f9bd51734f.tar.gz |
version 0.6.7pre3, getting syntax higlighting working and adding new commands to pry commandline, see TODO
Diffstat (limited to 'bin/pry')
-rw-r--r-- | bin/pry | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -35,6 +35,18 @@ See: `https://github.com/banister` for more information. options[:loadrc] = false end + opts.on("--color", "Start session with syntax highlighting on.") do + Pry.color = true + end + + opts.on("--simple-prompt", "Simple prompt mode.") do + Pry.prompt = Pry::SIMPLE_PROMPT + end + + opts.on("-I LOADPATH", "Specify $LOAD_PATH directory.") do |load_path| + $LOAD_PATH << load_path + end + opts.on("-v", "--version", "Display the Pry version.") do puts "Pry version #{Pry::VERSION} on Ruby #{RUBY_VERSION}" exit |