diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2018-08-01 17:22:47 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-08-02 21:55:27 +0000 |
commit | cc7a411fc5a4e62c9211b882095ddde98640d63b (patch) | |
tree | 675112bd8cf5d8d8a620c45e5fb91a7b0d34f9b1 /src/mainboard/google | |
parent | 8cd17eae2fca33671df544fe209a994105531e94 (diff) | |
download | coreboot-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/google')
0 files changed, 0 insertions, 0 deletions