summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2018-08-01 17:22:47 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-08-02 21:55:27 +0000
commitcc7a411fc5a4e62c9211b882095ddde98640d63b (patch)
tree675112bd8cf5d8d8a620c45e5fb91a7b0d34f9b1 /src/mainboard
parent8cd17eae2fca33671df544fe209a994105531e94 (diff)
downloadcoreboot-cc7a411fc5a4e62c9211b882095ddde98640d63b.tar.xz
util/ectool: Handle arguments more carefully
Check if an argument is given and if not print the usage. Check if all arguments are handled by getopt and if not print the usage. Change-Id: I40dbd2a51d018eb549e9b2fa4365b3e4f9355bff Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/27778 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-by: Evgeny Zinoviev <me@ch1p.com>
Diffstat (limited to 'src/mainboard')
0 files changed, 0 insertions, 0 deletions