util/lint/lint: Add command line parsing
commit8ea8d856f39ecc75a7f1c4084f90c525f3c3e69b
authorMartin Roth <gaumless@gmail.com>
Sun, 21 Aug 2022 19:25:55 +0000 (21 13:25 -0600)
committerMartin L Roth <gaumless@gmail.com>
Sat, 3 Sep 2022 23:49:53 +0000 (3 23:49 +0000)
tree5130d0bf12b161ee9d7aa0c0643bb6b62cd9b33c
parent39914a50ae16756262b29b35a2142b9833680b6b
util/lint/lint: Add command line parsing

The lint script just did very basic argument parsing and required the
sub-command and --junit argument to be in specific locations.  I'm
adding additional commands, so the first step is to add true command
line parsing.

Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I7118c29e6c5d785b35a7ae12cf5984c43ebc3ab9
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67191
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
util/lint/lint