util/abuild: Add more error handling for command line options
commit9fdb41ab9a60c59d1c3ae727da7247f1de46c9d3
authorMartin Roth <martinroth@google.com>
Tue, 6 Dec 2016 16:51:54 +0000 (6 09:51 -0700)
committerMartin Roth <martinroth@google.com>
Mon, 12 Dec 2016 16:44:48 +0000 (12 17:44 +0100)
tree81564555817792a79f9d575528b8345670917461
parent5b0d2dbdceacca09b9758a92ad078aa18256d469
util/abuild: Add more error handling for command line options

- Show an error if a directory is added after the command line options
to catch scripts using the old parameters.
- If an invalid parameter is specified, show the parameter.

Change-Id: Ie8948361f1c51e89a99bdb13df8c554747cd521d
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/17741
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
util/abuild/abuild