26 lines
1.2 KiB
Diff
26 lines
1.2 KiB
Diff
From af5b168d1ca205d9fee20142cf9d0d47962a2a0b Mon Sep 17 00:00:00 2001
|
|
From: century6 <zhangqiumiao1@huawei.com>
|
|
Date: Fri, 3 Nov 2023 11:22:12 +0800
|
|
Subject: [PATCH] Fix the incorrect long parameter in help messages
|
|
|
|
- fix the incorrect long parameter of --device
|
|
|
|
Signed-off-by: Qiumiao Zhang <zhangqiumiao1@huawei.com>
|
|
---
|
|
src/efibootmgr.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/efibootmgr.c b/src/efibootmgr.c
|
|
index 7e8cdab..b35fcf4 100644
|
|
--- a/src/efibootmgr.c
|
|
+++ b/src/efibootmgr.c
|
|
@@ -1404,7 +1404,7 @@ usage()
|
|
printf("\t-d | --disk disk Disk containing boot loader (defaults to /dev/sda).\n");
|
|
printf("\t-D | --remove-dups Remove duplicate values from BootOrder.\n");
|
|
printf("\t-e | --edd [1|3] Force boot entries to be created using EDD 1.0 or 3.0 info.\n");
|
|
- printf("\t-E | --device num EDD 1.0 device number (defaults to 0x80).\n");
|
|
+ printf("\t-E | --edd-device num EDD 1.0 device number (defaults to 0x80).\n");
|
|
printf("\t --full-dev-path Use a full device path.\n");
|
|
printf("\t --file-dev-path Use an abbreviated File() device path.\n");
|
|
printf("\t-f | --reconnect Re-connect devices after driver is loaded.\n");
|