commit | cc7a411fc5a4e62c9211b882095ddde98640d63b | [log] [tgz] |
---|---|---|
author | Arthur Heymans <arthur@aheymans.xyz> | Wed Aug 01 17:22:47 2018 +0200 |
committer | Patrick Georgi <pgeorgi@google.com> | Thu Aug 02 21:55:27 2018 +0000 |
tree | 675112bd8cf5d8d8a620c45e5fb91a7b0d34f9b1 | |
parent | 8cd17eae2fca33671df544fe209a994105531e94 [diff] |
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>