diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-06-15 14:33:53 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-06-22 09:22:54 +0900 |
commit | 96dccd9767311f4b8e585fd9e33fcb2a09e36951 (patch) | |
tree | 09f5f75441118163f2e8917adbfa48c035bf99ae /include/libtizen.h | |
parent | f432c33f27898070718dd568feb104fc1870ca15 (diff) | |
download | blackbird-obmc-uboot-96dccd9767311f4b8e585fd9e33fcb2a09e36951.tar.gz blackbird-obmc-uboot-96dccd9767311f4b8e585fd9e33fcb2a09e36951.zip |
tools: moveconfig: simplify show_failed_boards() and show more info
Since commit 1d085568b3de ("tools: moveconfig: display log atomically
in more readable format"), the function color_text() is clever enough
to exclude LF from escape sequences. Exploit it for removing the
"for" loops from Slots.show_failed_boards().
Also, display "(the list has been saved in moveconfig.failed)" if
there are failed boards.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/libtizen.h')
0 files changed, 0 insertions, 0 deletions