summaryrefslogtreecommitdiff
path: root/tool/merger.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-08 03:20:07 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-08 03:20:07 +0000
commitbe801955e95c259bf819c71dfc3d5f6102eb4ddf (patch)
treeffdecf0e51b66ca5fd48358346d9b714239a31f8 /tool/merger.rb
parent10952d16e62af8414a42a1ca5e15016e95d9e4e7 (diff)
downloadruby-be801955e95c259bf819c71dfc3d5f6102eb4ddf.tar.gz
* tool/merger.rb: get user's attention by using colored message when requiring operation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/merger.rb')
-rwxr-xr-xtool/merger.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/merger.rb b/tool/merger.rb
index 367815fef2..9332a96566 100755
--- a/tool/merger.rb
+++ b/tool/merger.rb
@@ -60,7 +60,7 @@ end
def interactive str, editfile = nil
loop do
yield
- STDERR.puts "#{str} ([y]es|[a]bort|[r]etry#{'|[e]dit' if editfile})"
+ STDERR.puts "\e[1;33m#{str} ([y]es|[a]bort|[r]etry#{'|[e]dit' if editfile})\e[0m"
case STDIN.gets
when /\Aa/i then exit
when /\Ar/i then redo