summaryrefslogtreecommitdiff
path: root/util/libreboot-utils/mkhtemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/libreboot-utils/mkhtemp.c')
-rw-r--r--util/libreboot-utils/mkhtemp.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/util/libreboot-utils/mkhtemp.c b/util/libreboot-utils/mkhtemp.c
index de86a2bf..c9315b0c 100644
--- a/util/libreboot-utils/mkhtemp.c
+++ b/util/libreboot-utils/mkhtemp.c
@@ -68,7 +68,7 @@ main(int argc, char *argv[])
xpledgex("stdio flock rpath wpath cpath", NULL);
while ((c =
- getopt(argc, argv, "qdp:")) != -1) {
+ getopt(argc, argv, "qdp:t")) != -1) {
switch (c) {
case 'd':
@@ -83,6 +83,12 @@ main(int argc, char *argv[])
/* (exit status unchanged) */
break;
+ case 't':
+ break; /* not supported yet. TODO */
+ /* configured above without optarg,
+ * so that it is treated as a normal
+ * template string */
+
default:
goto err_usage;
}