fmap.py: pretty print the object by default
Dumping the structure as a single line makes it hard to read. Format
it for use humans by default and add a --raw option for people who are
using this tool in scripts.
BUG=chromium:982465
TEST=`./fmap.py bin/example.bin` shows human formatted output
TEST=`./fmap.py --raw bin/example.bin` shows one line
Change-Id: I3232cdf104ae6edfbbc03e848166455710653f9d
Reviewed-on: https://chromium-review.googlesource.com/1693884
Tested-by: Mike Frysinger <vapier@chromium.org>
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Duncan Laurie <dlaurie@google.com>
1 file changed