diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-08 03:20:07 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-08 03:20:07 +0000 |
commit | be801955e95c259bf819c71dfc3d5f6102eb4ddf (patch) | |
tree | ffdecf0e51b66ca5fd48358346d9b714239a31f8 /tool/merger.rb | |
parent | 10952d16e62af8414a42a1ca5e15016e95d9e4e7 (diff) | |
download | ruby-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-x | tool/merger.rb | 2 |
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 |