]> git.baikalelectronics.ru Git - uboot.git/commit
tools: dumpimage: Add help option and make error paths consistent
authorMartyn Welch <martyn.welch@collabora.com>
Sat, 26 Jan 2019 02:31:53 +0000 (02:31 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 1 Feb 2019 19:13:46 +0000 (14:13 -0500)
commita27275e505d3436e89f75fffdcfec9ab6623bb39
tree7e3a21d61ac43df6b44bc6307ca1045fb9443e46
parenta0cea56540675aeeb3cb8a01b12522056c424045
tools: dumpimage: Add help option and make error paths consistent

The utility dumpimage has error paths that display the usage and others
that exit without displaying usage. Add an explicit help option to
dumpimage to display the usage and remove it's use in error paths to make
the error messages more obvious and errors paths more consistent.

Signed-off-by: Martyn Welch <martyn.welch@collabora.com>
tools/dumpimage.c