[U-Boot] [U-Boot,2/5] tools: dumpimage: Simplify arguments

Tom Rini trini at konsulko.com
Sun Feb 3 01:09:16 UTC 2019


On Sat, Jan 26, 2019 at 02:31:51AM +0000, Martyn Welch wrote:

> The dump image utility has very confusing syntax. If called to list image
> contents ("-l") it takes the image name as a positional argument. If the
> utility is called to extract something from the image, the image must be
> provided via the optional argument "-i" as well as the positional argument
> but the value passed in the positional argument will be completely
> ignored.
> 
> Simplify dumpimage by always providing the image as the first positional
> argument. Assume we want to dump something from the image if we do not
> provide the "-l" option for now.
> 
> Signed-off-by: Martyn Welch <martyn.welch at collabora.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190202/4e8ff92f/attachment.sig>


More information about the U-Boot mailing list