]> git.dujemihanovic.xyz Git - u-boot.git/commit
mkenvimage: Fix getopt() error handling
authorHorst Kronstorfer <hkronsto@frequentis.com>
Mon, 5 Dec 2011 00:55:24 +0000 (00:55 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 20 Dec 2011 22:51:36 +0000 (23:51 +0100)
commit5e0c63e2e3e7a0aefb01d877dd7bb731ba6f00f1
tree43a98a50fadd71b1546d62ab39cbf14a7b84448e
parentd30011bf6127903367e70f9bdcb95a2d3dd2dc9f
mkenvimage: Fix getopt() error handling

Since the original implementation indicates explicit error handling
we turn off getopt()'s internal error messaging to avoid duplicate
error messages.  Additionally we add ':' (missing option argument)
error handling.

Signed-off-by: Horst Kronstorfer <hkronsto@frequentis.com>
tools/mkenvimage.c