aboutsummaryrefslogtreecommitdiffstats
path: root/lib/irb.rb
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-05-15 16:36:33 +0900
committeraycabta <aycabta@gmail.com>2019-05-21 08:57:21 +0900
commit3a9008b9845db544d0788851f9527ce9f9f6bf4a (patch)
tree0bc7cd93696f1a57b2d25e6a72df71bde72ecf44 /lib/irb.rb
parentdf6a673ca55d26a768ead23466c7e055a8596d7a (diff)
downloadruby-3a9008b9845db544d0788851f9527ce9f9f6bf4a.tar.gz
Add --colorize and --nocolorize options to IRB
Diffstat (limited to 'lib/irb.rb')
-rw-r--r--lib/irb.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index d0246b077c..773d0d07a4 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -62,6 +62,8 @@ require "irb/version"
# --noinspect Don't use inspect for output
# --readline Use Readline extension module
# --noreadline Don't use Readline extension module
+# --colorize Use colorization
+# --nocolorize Don't use colorization
# --prompt prompt-mode
# --prompt-mode prompt-mode
# Switch prompt mode. Pre-defined prompt modes are
@@ -96,6 +98,7 @@ require "irb/version"
# IRB.conf[:BACK_TRACE_LIMIT]=16
# IRB.conf[:USE_LOADER] = false
# IRB.conf[:USE_READLINE] = nil
+# IRB.conf[:USE_COLORIZE] = true
# IRB.conf[:USE_TRACER] = false
# IRB.conf[:IGNORE_SIGINT] = true
# IRB.conf[:IGNORE_EOF] = false