Skip to contentSkip to conversation

Document fwsetup and fix typo

PATCH In review Robbie Harwood 2 participants 4 messages Aug 19, 2022

lore
Share & tools
lore
#0 lore raw

v2 cover Document fwsetup and fix typo

Resend because I chunked a bunch of other stuff that didn't belong into the original. Original message:

As requested in review of the recent fwsetup support series, document fwsetup (and its option), and fix a nearby typo I noticed that caused halt's options to not render correctly.

Be well,
--Robbie

Robbie Harwood (2):
grub.text: Document fwsetup command grub.texi: Fix mismatched brackets in halt command

 docs/grub.texi | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
Signature · 1 line
2.35.1
#1 lore raw

PATCH v2 1/2 grub.text: Document fwsetup command

---
 docs/grub.texi | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
docs/grub.texi +11 -1
index b848d0928b..949b5a3601 100644
@@ -4242,6 +4242,7 @@ you forget a command, you can run the command @command{help}
 * eval::                        Evaluate agruments as GRUB commands
 * export::                      Export an environment variable
 * false::                       Do nothing, unsuccessfully
+* fwsetup::                     Reboot into the firmware setup menu
 * gettext::                     Translate a string
 * gptsync::                     Fill an MBR based on GPT entries
 * halt::                        Shut down your computer
@@ -4754,6 +4755,16 @@ such as @code{if} and @code{while} (@pxref{Shell-like scripting}).
 @end deffn
 
 
+@node fwsetup
+@subsection fwsetup
+
+@deffn Command fwsetup [@option{--is-supported}]
+Reboot into the firmware setup menu.  If @option{--is-supported} option is
+specified, instead check whether the firmware supports a setup menu and
+exit successfully if so.
+@end deffn
+
+
 @node gettext
 @subsection gettext
 
@@ -5939,7 +5950,6 @@ GRUB shell may provide more information on parameters and usage.
 @item @command{fix_video} - Fix video problem.
 @item @command{fpswa} - Display FPSWA version.
 @item @command{functional_test} - Run all loaded functional tests.
-@item @command{fwsetup} - Reboot into firmware setup menu.
 @item @command{gdbstub_break} - Break into GDB
 @item @command{gdbstub} -  Start GDB stub on given port
 @item @command{gdbstub_stop} - Stop GDB stub
Signature · 1 line
2.35.1
#2 lore raw

PATCH v2 2/2 grub.texi: Fix mismatched brackets in halt command

In reply to Robbie Harwood
---
 docs/grub.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/grub.texi +1 -1
index 949b5a3601..ac1f401a52 100644
@@ -4800,7 +4800,7 @@ type are omitted, then the partition will be inactive.
 @node halt
 @subsection halt
 
-@deffn Command halt [@option{--no-apm}[
+@deffn Command halt [@option{--no-apm}]
 The command halts the computer. On the i386-pc target, the @option{--no-apm}
 option, or short @option{-n}, is specified, no APM BIOS call is performed.
 Otherwise, the computer is shut down using APM on that target.
Signature · 1 line
2.35.1
#3 lore raw
In reply to Robbie Harwood
Quoted 7 lines · Robbie Harwood

Resend because I chunked a bunch of other stuff that didn't belong into the original. Original message:

As requested in review of the recent fwsetup support series, document fwsetup (and its option), and fix a nearby typo I noticed that caused halt's options to not render correctly.

Quoted 6 lines

Be well,
--Robbie

Robbie Harwood (2):
grub.text: Document fwsetup command grub.texi: Fix mismatched brackets in halt command

For both patches Reviewed-by: Daniel Kiper <[email protected]>...

Daniel