docs/set: Don't hide -u so much

It's fine if it doesn't show up in the synopsis above, but putting it
under "Notes" is just too awkward.

It's a short option that exists, and so it should be documented.
This commit is contained in:
Fabian Boehm 2022-11-10 11:34:50 +01:00
parent 6859a4c6f6
commit e551f93f6d

View file

@ -59,7 +59,7 @@ These options modify how variables operate:
**--export** or **-x**
Causes the specified shell variable to be exported to child processes (making it an "environment variable").
**--unexport**
**--unexport** or **-u**
Causes the specified shell variable to NOT be exported to child processes.
**--path**
@ -214,4 +214,3 @@ This runs fish with a temporary home directory::
Notes
-----
- Fish versions prior to 3.0 supported the syntax ``set PATH[1] PATH[4] /bin /sbin``, which worked like ``set PATH[1 4] /bin /sbin``.
- **-u** is accpeted as a synonym of **--unexport**.