From 21af2118072279c8ae1925e70ace9d358df8e416 Mon Sep 17 00:00:00 2001 From: Vojtech Vesely Date: Thu, 8 Feb 2024 18:17:46 +0100 Subject: util/ifdtool.c: Fix long_options for platform Platform has argument, but has_arg was mistakenly set to 0. Change-Id: I7d5c31c2b1da544cb73d9e213d463332fcdba7df Signed-off-by: Vojtech Vesely Reviewed-on: https://review.coreboot.org/c/coreboot/+/80432 Reviewed-by: Jan Samek Tested-by: build bot (Jenkins) Reviewed-by: Marvin Drees --- util/ifdtool/ifdtool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/ifdtool') diff --git a/util/ifdtool/ifdtool.c b/util/ifdtool/ifdtool.c index e020a8ae07..516570e0a3 100644 --- a/util/ifdtool/ifdtool.c +++ b/util/ifdtool/ifdtool.c @@ -2188,7 +2188,7 @@ int main(int argc, char *argv[]) {"gpr0-enable", 0, NULL, 'E'}, {"version", 0, NULL, 'v'}, {"help", 0, NULL, 'h'}, - {"platform", 0, NULL, 'p'}, + {"platform", 1, NULL, 'p'}, {"validate", 0, NULL, 't'}, {"setpchstrap", 1, NULL, 'S'}, {"newvalue", 1, NULL, 'V'}, -- cgit v1.2.3