From: Tom Rini Date: Fri, 7 Jul 2017 07:41:44 -0400 Subject: [U-Boot] [U-Boot,v2] mkimage: fix display of image types list In-Reply-To: <6e6b8df328c43801e847c9445db81298e80b643b.1498757828.git.baruch@tkos.co.il> References: <6e6b8df328c43801e847c9445db81298e80b643b.1498757828.git.baruch@tkos.co.il> Message-ID: <20170707114144.GR22707@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 Thu, Jun 29, 2017 at 08:37:08PM +0300, Baruch Siach wrote: > Since commit 5b9d44df2307f (mkimage: Display a better list of available image > types) mkimage usage text suggest to "use -T to see a list of available image > types". Unfortunately, commit 02221f29deb8 (mkimage: Convert to use getopt()) > broke that feature, because getopt() fails when -T has no option argument. > > Add a pseudo image type name 'list' that lists all image types. Update the > usage text accordingly. > > Cc: Simon Glass > Signed-off-by: Baruch Siach 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: Digital signature URL: