From e551f93f6d89cd666db82f8367ed487c9910dc77 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Thu, 10 Nov 2022 11:34:50 +0100 Subject: [PATCH] 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. --- doc_src/cmds/set.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc_src/cmds/set.rst b/doc_src/cmds/set.rst index 5784a437b..c52251d66 100644 --- a/doc_src/cmds/set.rst +++ b/doc_src/cmds/set.rst @@ -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**.