summaryrefslogtreecommitdiff
path: root/util/nvmutil/lib/usage.c
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-04-21 13:50:54 +0100
committerLeah Rowe <leah@libreboot.org>2026-04-21 13:50:54 +0100
commit6d3341c637f07c0ac680e14af4fee3b98db918ca (patch)
tree913e025ba6385e724e9f07ca0a74afd7ae0aac97 /util/nvmutil/lib/usage.c
parentb1b1d2cf0c5af68119213971578d87a3f4f0e109 (diff)
nope. use nvmutil from libreboot 26.01
guaranteed not to break on openbsd (tm) Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/lib/usage.c')
-rw-r--r--util/nvmutil/lib/usage.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/util/nvmutil/lib/usage.c b/util/nvmutil/lib/usage.c
deleted file mode 100644
index 3b0614e8..00000000
--- a/util/nvmutil/lib/usage.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* SPDX-License-Identifier: MIT
- * Copyright (c) 2023 Riku Viitanen <riku.viitanen@protonmail.com>
- * Copyright (c) 2026 Leah Rowe <leah@libreboot.org>
- */
-
-#include <errno.h>
-#include <stdio.h>
-
-#include "../include/common.h"
-
-void
-usage(void)
-{
- const char *util = getnvmprogname();
-
- fprintf(stderr,
- "Modify Intel GbE NVM images e.g. set MAC\n"
- "USAGE:\n"
- "\t%s FILE dump\n"
- "\t%s FILE setmac [MAC]\n"
- "\t%s FILE swap\n"
- "\t%s FILE copy 0|1\n"
- "\t%s FILE cat\n"
- "\t%s FILE cat16\n"
- "\t%s FILE cat128\n",
- util, util, util, util,
- util, util, util);
-
- err(EINVAL, "Too few arguments");
-}