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
This commit is contained in:
Warner Losh 2022-05-17 10:47:50 -06:00
parent 98d2608a2a
commit 731f91c077

View file

@ -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;