docs/set: Fix mention of --export

Closes #12530
This commit is contained in:
Daniel Danner
2026-03-10 20:34:03 +01:00
committed by Johannes Altmanninger
parent 226e818c25
commit efebb7bcdb

View File

@@ -89,7 +89,7 @@ Further options:
**-q** or **--query** *NAME*\[*INDEX*\]
Test if the specified variable names are defined.
If an *INDEX* is provided, check for items at that slot.
With a given scope (like **--global**) or attribute (like **--exported** or **--path**) check only variables that match.
With a given scope (like **--global**) or attribute (like **--export** or **--path**) check only variables that match.
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.
If no variable was given, it also returns 255.