diff options
| author | Mark Peek <mp@FreeBSD.org> | 2024-03-24 19:37:12 +0000 |
|---|---|---|
| committer | Mark Peek <mp@FreeBSD.org> | 2024-03-31 16:58:45 +0000 |
| commit | 811bd332abddf44a2f410fd04a6a61849d1b736a (patch) | |
| tree | aa6a8fc4f82fab27d9e94ce72f05e7bd390e34ce | |
| parent | a1f89082dcb591886acc22c5503a2d5a82b267d9 (diff) | |
efibootmgr: allow -u as a valid option
PR: 277907
Reported by: vsasjason@gmail.com
MFC after: 1 week
(cherry picked from commit 65904399db9167b0970e42e14642e1d6bdbf6d3a)
| -rw-r--r-- | usr.sbin/efibootmgr/efibootmgr.c | 4 |
1 files 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; |
