fish-shell/doc_src/cmds/pwd.rst
Fabian Homborg 801d7e3e11 docs: Document that the man pages are for our builtins
For builtins that have the same name as common commands, it might not
be entirely obvious that there is another page.

So, for those builtins, we add a note, but only in the man pages.

(exception is true and false because the note would be longer than the
page, and it's fridging true and false)

Fixes #8077.
2021-07-16 18:21:41 +02:00

35 lines
834 B
ReStructuredText

.. _cmd-pwd:
pwd - output the current working directory
==========================================
Synopsis
--------
::
pwd [(-P | --physical)] [(-L | --logical)]
Description
-----------
.. only:: builder_man
NOTE: This page documents the fish builtin ``pwd``.
To see the documentation on the ``pwd`` command you might have,
use ``command man pwd``.
``pwd`` outputs (prints) the current working directory.
The following options are available:
- ``-L`` or ``--logical`` Output the logical working directory, without resolving symlinks (default behavior).
- ``-P`` or ``--physical`` Output the physical working directory, with symlinks resolved.
See Also
--------
Navigate directories using the :ref:`directory history <directory-history>` or the :ref:`directory stack <directory-stack>`