util/cbfstool: Print types on stdout
commite32cea15c8534faa817f32cd3dd9ae89e44f6d98
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Sun, 8 Apr 2018 13:05:09 +0000 (8 15:05 +0200)
committerMartin Roth <martinroth@google.com>
Wed, 11 Apr 2018 14:11:17 +0000 (11 14:11 +0000)
tree99760af645b045180ed301be17729823c730b3e5
parentba91cd33b69d8cf28b6813c5a8ed29961f42964e
util/cbfstool: Print types on stdout

Currently, "cbfstool -h | less" doesn't show any file types under
"TYPEs:". That's because the file types are printed with
print_supported_filetypes, which uses LOG, which prints to stderr.  Use
printf print_supported_filetypes, and thus print to stdout, to make the
usage output more normal.

Change-Id: I800c9205c59383b63a640bc0798a1bd9117b0f99
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/25589
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
util/cbfstool/common.c