bmaptool: make warnings and errors more visible
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Wed, 12 Dec 2012 08:20:01 +0000 (10:20 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Wed, 12 Dec 2012 08:20:01 +0000 (10:20 +0200)
commit70d3f7bd5c131ed7c6053b817275f2c4cd040581
tree7b7a147ce3bf59a5f14eb8e7ce464deaf77188a3
parent24c28f04c32b438f6f8323b1e9fae229bf59984d
bmaptool: make warnings and errors more visible

People usually do not read docs and forget to use the --bmap option, and then
wonder why flashing is not fast enough. bmaptool prints some kind of warning
in this case, but it is not visible enough. Make it to be more visible:

1. Change the message to say that flashing will be slow.
2. Make the warning/error prefix to use capital letters.
3. Make the output to be coloured.

This should hopefully draw more attention and people will notice warnings
and errors more easily.

Change-Id: Iccf44430c5b9e671a5d540c2966fead3aa800337
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
bmaptool