summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Vesely <vojtech.vesely@9elements.com>2024-02-08 18:17:46 +0100
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-02-15 09:27:21 +0000
commit21af2118072279c8ae1925e70ace9d358df8e416 (patch)
treec3214b2eb77ae3a15f67fe6fffce3fa0defb69ef
parent1e777a127f243909a249483fd4a37c3af3f2fc41 (diff)
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 <vojtech.vesely@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80432 Reviewed-by: Jan Samek <jan.samek@siemens.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marvin Drees <marvin.drees@9elements.com>
-rw-r--r--util/ifdtool/ifdtool.c2
1 files changed, 1 insertions, 1 deletions
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'},