diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-06-15 05:33:53 (GMT) |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-06-22 00:22:54 (GMT) |
commit | 96dccd9767311f4b8e585fd9e33fcb2a09e36951 (patch) | |
tree | 09f5f75441118163f2e8917adbfa48c035bf99ae /lib | |
parent | f432c33f27898070718dd568feb104fc1870ca15 (diff) | |
download | u-boot-96dccd9767311f4b8e585fd9e33fcb2a09e36951.tar.xz |
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 'lib')
0 files changed, 0 insertions, 0 deletions