]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Return failure when a usage() message is generated
authorSimon Glass <sjg@chromium.org>
Wed, 31 Jul 2024 14:49:03 +0000 (08:49 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 5 Aug 2024 18:15:29 +0000 (12:15 -0600)
commitba35f730e817153f07ea88355399ab336319f8a7
treee72964c4cbadec982807aa347434ed8524353a9d
parent2e658c18096bc62840e081055a4e35f28c50ec2f
binman: Return failure when a usage() message is generated

The tool must return an error code when invalid arguments are provided,
otherwise binman has no way of knowing that anything went wrong.

Correct this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: fab430be2f4 ("tools: add mkeficapsule command for UEFI...")
tools/mkeficapsule.c