From 70de14d82fedaf4703f15ab38d4138464e7a0471 Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Tue, 1 Jan 2019 04:57:46 +0000 Subject: [PATCH] Update the efibootmgr(8) man page to document changes to options. --- usr.sbin/efibootmgr/efibootmgr.8 | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/usr.sbin/efibootmgr/efibootmgr.8 b/usr.sbin/efibootmgr/efibootmgr.8 index 497262c2c3b2..689d53d200f0 100644 --- a/usr.sbin/efibootmgr/efibootmgr.8 +++ b/usr.sbin/efibootmgr/efibootmgr.8 @@ -31,12 +31,13 @@ .Nm efibootmgr .Nd manipulate the EFI Boot Manager .Sh SYNOPSIS -.Op Fl aAnNB Ar bootnum +.Op Fl aAnNB +.Op Fl b Ar bootnum .Op Fl t Ar timeout .Op Fl T .Op Fl o Ar bootorder .Op Fl v -.Op Fl c l Ar loader [ Fl k Ar kernel ] [ Fl L Ar label ] [ Fl -dry-run ] [ Fl b Ar bootnum ] +.Op Fl c l Ar loader [ Fl k Ar kernel ] [ Fl L Ar label ] [ Fl -dry-run ] .Sh "DESCRIPTION" .Nm manipulates how UEFI Boot Managers boot the system. @@ -71,19 +72,19 @@ The path to and name of the loader. .It Fl k -kernel Ar kernel The path to and name of the kernel. .It Fl b -bootnum Ar bootnum -When creating a new entry, use bootnum as the index. -Fail if it already exists. +When creating or modifying an entry, use bootnum as the index. +When creating a new entry, fail if it already exists. .It Fl L -label Ar label An optional description for the entry. .It Fl D -dry-run Process but do not change any variables. -.It Fl B -delete Ar bootnum +.It Fl B -delete Delete the given bootnum boot entry. -.It Fl a -activate Ar bootnum -Activate the given bootnum boot entry. -.It Fl A -deactivate Ar bootnum +.It Fl a -activate +Activate the given bootnum boot entry, or the new entry when used with -c. +.It Fl A -deactivate Deactivate the given bootnum boot entry. -.It Fl n -bootnext Ar bootnum +.It Fl n -bootnext Set bootnum boot entry as the BootNext variable. .It Fl N -delete-bootnext Delete the BootNext optional variable. @@ -100,7 +101,7 @@ Display the device path of boot entries in the output. .Pp .Sh Examples .Pp -To Display the current Boot related variables in the system: +To display the current Boot related variables in the system: .Pp .Dl efibootmgr [-v] .Pp @@ -130,18 +131,18 @@ into the first position of current BootOrder variable if it exists. They must first be set to active before being considered available to attempt booting from, else they are ignored. .Pp -.Dl efibootmgr -B 0009 +.Dl efibootmgr -B -b 0009 .Pp Will delete the given boot entry Boot0009 .Pp To set a given newly created boot entry active use: .Pp -.Dl efibootmgr -a 0009 +.Dl efibootmgr -a -b 0009 .Pp To set a given boot entry to be used as the BootNext variable, irrespective of its active state, use: .Pp -.Dl efibootmgr -n 0009 +.Dl efibootmgr -n -b 0009 .Pp To set the BootOrder for the next reboot use: .Pp