If the `--help` argument is passed, print the usage and immediately return. This avoids printing errors about 'invalid config,' which users don't specify when getting the usage information, and potentially printing the usage a second time before exiting. Change-Id: I18bf154ff5177fa0e0aa6a41f0d71980fed7ce55 Signed-off-by: Benjamin Doron <benjamin.doron@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/87869 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com> Reviewed-by: Alicja Michalska <ahplka19@gmail.com> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| amdfwread.c | ||
| amdfwtool.c | ||
| amdfwtool.h | ||
| data_parse.c | ||
| description.md | ||
| handle_file.c | ||
| Makefile | ||
| Makefile.mk | ||
| opts.c | ||
| signed_psp.c | ||