From de37e52dcaccd9f3bb42af4b4bda7ed59215a5d6 Mon Sep 17 00:00:00 2001 From: Dan Martinez Date: Sat, 21 Dec 2019 00:59:14 -0800 Subject: [PATCH] Mention how `functions --details` handles aliases (#6423) * Mention how `functions --details` handles aliases * Clarify that `source` is responsible for `-` paths --- sphinx_doc_src/cmds/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx_doc_src/cmds/functions.rst b/sphinx_doc_src/cmds/functions.rst index adeaa7f42..f439f02d9 100644 --- a/sphinx_doc_src/cmds/functions.rst +++ b/sphinx_doc_src/cmds/functions.rst @@ -29,7 +29,7 @@ The following options are available: - ``-e`` or ``--erase`` causes the specified functions to be erased. This also means that it is prevented from autoloading. -- ``-D`` or ``--details`` reports the path name where each function is defined or could be autoloaded, ``stdin`` if the function was defined interactively or on the command line or by reading stdin, and ``n/a`` if the function isn't available. If the ``--verbose`` option is also specified then five lines are written: +- ``-D`` or ``--details`` reports the path name where each function is defined or could be autoloaded, ``stdin`` if the function was defined interactively or on the command line or by reading stdin, ``-`` if the function was created via ``source``, and ``n/a`` if the function isn't available. (Functions created via ``alias`` will return ``-``, because ``alias`` uses ``source`` internally.) If the ``--verbose`` option is also specified then five lines are written: - the pathname as already described, - ``autoloaded``, ``not-autoloaded`` or ``n/a``,