cbmk/script
Leah Rowe 60d491e2bd trees: don't continue if no argument given
main() used to be the only function executed from
outside of main(), in this script, but now we source
a config file and then run the build afterward.

when a flag is provided without OPTARG, this means
that we are continuing such action erroneously. to
mitigate this, return 1 in that instance, and handle
it in the line that calls main(), making it exit with
zero status (success).

Signed-off-by: Leah Rowe <leah@libreboot.org>
2024-07-12 16:40:26 +01:00
..
trees trees: don't continue if no argument given 2024-07-12 16:40:26 +01:00