commit | 11e3c1fd3bd8fd0a91d502fa4742749f877867bb | [log] [tgz] |
---|---|---|
author | Martyn Welch <martyn.welch@collabora.com> | Sat Jan 26 02:31:52 2019 +0000 |
committer | Tom Rini <trini@konsulko.com> | Fri Feb 01 14:13:46 2019 -0500 |
tree | 7defa80709f6ee28be8597db355c2ac347395873 | |
parent | 12b831879a765722c1a94ca75c6adb6f80759cd9 [diff] |
tools: dumpimage: Simplify internal logic There are 3 supported modes of operation: 1) Show version 2) List image contents 3) Extract image component Option (1) terminates early, so only options (2) and (3) remain. Remove redundant check for these modes. Signed-off-by: Martyn Welch <martyn.welch@collabora.com>