From 325b51aca0974bd5409c6007e8e98b49a68f03c8 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Thu, 5 Sep 2024 19:30:29 +0200 Subject: [PATCH] docs/set: Fix markup Fixes #10697 --- doc_src/cmds/set.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc_src/cmds/set.rst b/doc_src/cmds/set.rst index 643b72d4d..c353e9671 100644 --- a/doc_src/cmds/set.rst +++ b/doc_src/cmds/set.rst @@ -81,12 +81,12 @@ Further options: This can be used with **--append** to both append and prepend at the same time. This cannot be used when assigning to a variable slice. -**-e** or **--erase** *NAME*[*INDEX*] +**-e** or **--erase** *NAME*\[*INDEX*\] Causes the specified shell variables to be erased. Supports erasing from multiple scopes at once. Individual items in a variable at *INDEX* in brackets can be specified. -**-q** or **--query** *NAME*[*INDEX*] +**-q** or **--query** *NAME*\[*INDEX*\] Test if the specified variable names are defined. If an *INDEX* is provided, check for items at that slot. Does not output anything, but the shell status is set to the number of variables specified that were not defined, up to a maximum of 255.