aboutsummaryrefslogtreecommitdiffstats
path: root/lib/irb/lc
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/lc
parentdf6a673ca55d26a768ead23466c7e055a8596d7a (diff)
downloadruby-3a9008b9845db544d0788851f9527ce9f9f6bf4a.tar.gz
Add --colorize and --nocolorize options to IRB
Diffstat (limited to 'lib/irb/lc')
-rw-r--r--lib/irb/lc/help-message2
-rw-r--r--lib/irb/lc/ja/help-message2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/irb/lc/help-message b/lib/irb/lc/help-message
index d1a66dddda..207b941959 100644
--- a/lib/irb/lc/help-message
+++ b/lib/irb/lc/help-message
@@ -26,6 +26,8 @@ Usage: irb.rb [options] [programfile] [arguments]
--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
`default', `simple', `xmp' and `inf-ruby'
diff --git a/lib/irb/lc/ja/help-message b/lib/irb/lc/ja/help-message
index 7a15f973c6..8393ed0539 100644
--- a/lib/irb/lc/ja/help-message
+++ b/lib/irb/lc/ja/help-message
@@ -25,6 +25,8 @@ Usage: irb.rb [options] [programfile] [arguments]
--noinspect 結果出力にinspectを用いない.
--readline readlineライブラリを利用する.
--noreadline readlineライブラリを利用しない.
+ --colorize 色付けを利用する.
+ --nocolorize 色付けを利用しない.
--prompt prompt-mode/--prompt-mode prompt-mode
プロンプトモードを切替えます. 現在定義されているプ
ロンプトモードは, default, simple, xmp, inf-rubyが