From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 2 Feb 2019 20:09:16 -0500 Subject: [U-Boot] [U-Boot,2/5] tools: dumpimage: Simplify arguments In-Reply-To: <20190126023154.19749-2-martyn.welch@collabora.com> References: <20190126023154.19749-2-martyn.welch@collabora.com> Message-ID: <20190203010916.GJ30838@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: