The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=731f91c0770be0d6666f483449878b60e5319924

commit 731f91c0770be0d6666f483449878b60e5319924
Author:     Warner Losh <[email protected]>
AuthorDate: 2022-05-17 16:47:50 +0000
Commit:     Warner Losh <[email protected]>
CommitDate: 2023-10-27 04:01:16 +0000

    efibootmgr: -C isn't implemented
    
    -C isn't implemented, so just errx out until it is. It's not listed in
    the man page, but is parsed for compatibility with the Linux
    efibootmgr(8) command.
    
    Sponsored by:           Netflix
---
 usr.sbin/efibootmgr/efibootmgr.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/usr.sbin/efibootmgr/efibootmgr.c b/usr.sbin/efibootmgr/efibootmgr.c
index ce7265857391..65ab247fb271 100644
--- a/usr.sbin/efibootmgr/efibootmgr.c
+++ b/usr.sbin/efibootmgr/efibootmgr.c
@@ -226,6 +226,8 @@ parse_args(int argc, char *argv[])
                case 'C':
                        opts.copy = true;
                        opts.cp_src = strtoul(optarg, NULL, 16);
+                       errx(1, "Copy not implemented");
+                       break;
                case 'c':
                        opts.create = true;
                        break;

Reply via email to