summaryrefslogtreecommitdiff
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
parent10952d16e62af8414a42a1ca5e15016e95d9e4e7 (diff)
* 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
-rwxr-xr-xtool/merger.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/merger.rb b/tool/merger.rb
index 367815fef2c..9332a965667 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