From 95ab71c456510f4195753c24cc20b5a6cd11e637 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sun, 31 Mar 2019 12:00:19 +0200 Subject: [PATCH] docs: Another bit of dehtml-izing [ci skip] --- sphinx_doc_src/cmds/type.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx_doc_src/cmds/type.rst b/sphinx_doc_src/cmds/type.rst index 31e5ccf70..18ddcefe0 100644 --- a/sphinx_doc_src/cmds/type.rst +++ b/sphinx_doc_src/cmds/type.rst @@ -22,7 +22,7 @@ The following options are available: - ``-t`` or ``--type`` prints ``function``, ``builtin``, or ``file`` if ``NAME`` is a shell function, builtin, or disk file, respectively. -- ``-p`` or ``--path`` prints the path to ``NAME`` if ``NAME`` resolves to an executable file in $PATH, the path to the script containing the definition of the function ``NAME`` if ``NAME`` resolves to a function loaded from a file on disk (i.e. not interactively defined at the prompt), or nothing otherwise. +- ``-p`` or ``--path`` prints the path to ``NAME`` if ``NAME`` resolves to an executable file in :ref:`$PATH `, the path to the script containing the definition of the function ``NAME`` if ``NAME`` resolves to a function loaded from a file on disk (i.e. not interactively defined at the prompt), or nothing otherwise. - ``-P`` or ``--force-path`` returns the path to the executable file ``NAME``, presuming ``NAME`` is found in ``$PATH``, or nothing otherwise. ``--force-path`` explicitly resolves only the path to executable files in ``$PATH``, regardless of whether ``$NAME`` is shadowed by a function or builtin with the same name.