summaryrefslogtreecommitdiff
path: root/util/kconfig/lxdialog
diff options
context:
space:
mode:
authorHsuan Ting Chen <roccochen@google.com>2024-09-09 17:23:37 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-09-10 10:54:25 +0000
commit8fe5a1f199984d6efe0bd0a898b2f3a94d700f1c (patch)
tree8ffe30635e9b60596a3dc003927e40a73017515f /util/kconfig/lxdialog
parentf922b7c93b719138239c11306d6defc032e01df3 (diff)
util/ifdtool: Exit with failure on unrecognized flags
ifdtool will exit with success while encountering an unrecognized flag. For example, -g is a newly introduced flag, when we want to call it with an older version of ifdtool, we will get the return value 0 and cause confusion. This patch change the exit status for unrecognized flags and doesn't change the exit status for -h and -?. BUG=b:362983041 BRANCH=none TEST=futility update --servo --image /var/tmp/image.bin --quirks unlock_csme on the servo host with old ifdtool Signed-off-by: Hsuan Ting Chen <roccochen@google.com> Change-Id: I046ad7ec790cda41a98a1de5cd730d32f65a9067 Reviewed-on: https://review.coreboot.org/c/coreboot/+/84260 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'util/kconfig/lxdialog')
0 files changed, 0 insertions, 0 deletions