summaryrefslogtreecommitdiff
path: root/lib/irb/context.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-11-26 01:17:56 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2019-11-26 01:18:07 -0800
commit958641d9919f19a1e37c633e9dc44d2986904628 (patch)
treede9722e76199fdd23fd2c50a575c59ec13843e81 /lib/irb/context.rb
parent5a6e3e7552382a4863ef5a8833798edb22abb3c7 (diff)
Suggest an alternative to suppress the irb warning
Diffstat (limited to 'lib/irb/context.rb')
-rw-r--r--lib/irb/context.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/irb/context.rb b/lib/irb/context.rb
index 94def5fc6a..286b9c7fb3 100644
--- a/lib/irb/context.rb
+++ b/lib/irb/context.rb
@@ -86,7 +86,8 @@ module IRB
puts <<~EOM
This version of IRB is drastically different from the previous version.
If you hit any issues, you can use "irb --legacy" to run the old version.
- If you want to just erase this message, please use "irb --multiline".
+ If you want to just erase this message, please use "irb --multiline" or
+ add `IRB.conf[:USE_MULTILINE] = true` in your ~/.irbrc file.
EOM
@io = ReidlineInputMethod.new
else