coreboot-kgpe-d16/util/ectool
Arthur Heymans cc7a411fc5 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>
2018-08-02 21:55:27 +00:00
..
Makefile ectool: Support OpenBSD 2017-02-02 15:29:10 +01:00
description.md util: Add description.md to each util 2018-07-26 13:26:50 +00:00
ec.c ectool: Add an option to get and use EC ports from /proc/ioports 2018-04-19 16:30:23 +00:00
ec.h ectool: Add an option to get and use EC ports from /proc/ioports 2018-04-19 16:30:23 +00:00
ectool.c util/ectool: Handle arguments more carefully 2018-08-02 21:55:27 +00:00