From 79aeb1656cf30c6242d23b32d7b4b25af9b4327a Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Mon, 21 Aug 2023 17:44:21 +0200 Subject: [PATCH] docs/type: Correct "--no-functions" This was accidentally changed in 3.2.0, when type was made a builtin. Since it's been 4 releases and nobody has noticed, rather than breaking things again let's leave it as it is, especially because the option is named "--no-functions", not "--no-functions-or-builtins". --- doc_src/cmds/type.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc_src/cmds/type.rst b/doc_src/cmds/type.rst index 763e12a47..1e1b8e0e0 100644 --- a/doc_src/cmds/type.rst +++ b/doc_src/cmds/type.rst @@ -21,10 +21,10 @@ The following options are available: Prints all of possible definitions of the specified names. **-s** or **--short** - Suppresses function expansion when used with no options or with **-a**/**--all**. + Don't print function definitions when used with no options or with **-a**/**--all**. **-f** or **--no-functions** - Suppresses function and builtin lookup. + Suppresses function lookup. **-t** or **--type** Prints ``function``, ``builtin``, or ``file`` if *NAME* is a shell function, builtin, or disk file, respectively.