From: Wolfgang Denk Date: Tue, 20 Dec 2011 23:51:51 +0100 Subject: [U-Boot] [PATCH 2/4] mkenvimage: Fix getopt() error handling In-Reply-To: <1323082526-2125-2-git-send-email-hkronsto@frequentis.com> References: <1323082526-2125-1-git-send-email-hkronsto@frequentis.com> <1323082526-2125-2-git-send-email-hkronsto@frequentis.com> Message-ID: <20111220225151.56C3019E5E2D@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Horst Kronstorfer, In message <1323082526-2125-2-git-send-email-hkronsto@frequentis.com> you wrote: > 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 > --- > tools/mkenvimage.c | 12 ++++++++++-- > 1 files changed, 10 insertions(+), 2 deletions(-) Applied to "next" branch, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Whom the gods would destroy, they first teach BASIC.