Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2024 16:59:18 GMT
From:      Mark Peek <mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 14b2221ae7ce - stable/13 - efibootmgr: allow -u as a valid option
Message-ID:  <202403311659.42VGxIRN038902@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mp:

URL: https://cgit.FreeBSD.org/src/commit/?id=14b2221ae7cee33b5b75d662da6a396ca5c46f95

commit 14b2221ae7cee33b5b75d662da6a396ca5c46f95
Author:     Mark Peek <mp@FreeBSD.org>
AuthorDate: 2024-03-24 19:37:12 +0000
Commit:     Mark Peek <mp@FreeBSD.org>
CommitDate: 2024-03-31 16:57:17 +0000

    efibootmgr: allow -u as a valid option
    
    PR:             277907
    Reported by:    vsasjason@gmail.com
    MFC after:      1 week
    
    (cherry picked from commit 65904399db9167b0970e42e14642e1d6bdbf6d3a)
---
 usr.sbin/efibootmgr/efibootmgr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr.sbin/efibootmgr/efibootmgr.c b/usr.sbin/efibootmgr/efibootmgr.c
index be1157b4aa84..dfe8bfb1c145 100644
--- a/usr.sbin/efibootmgr/efibootmgr.c
+++ b/usr.sbin/efibootmgr/efibootmgr.c
@@ -203,8 +203,8 @@ parse_args(int argc, char *argv[])
 {
 	int ch;
 
-	while ((ch = getopt_long(argc, argv, "AaBb:C:cdDe:EFfhk:L:l:NnOo:pTt:v",
-		    lopts, NULL)) != -1) {
+	while ((ch = getopt_long(argc, argv,
+	    "AaBb:C:cdDe:EFfhk:L:l:NnOo:pTt:u:v", lopts, NULL)) != -1) {
 		switch (ch) {
 		case 'A':
 			opts.set_inactive = true;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403311659.42VGxIRN038902>