fish-shell/doc_src/cmds/builtin.rst
David Adam e23e52a8e9 docs: standardise on definition lists for options
Harmonizes the option listing including formatting in a similar manner to the
synopsis of each entry.
2022-03-12 00:21:12 +08:00

34 lines
602 B
ReStructuredText

.. _cmd-builtin:
builtin - run a builtin command
===============================
Synopsis
--------
.. synopsis::
builtin [OPTIONS] BUILTINNAME
builtin --query BUILTINNAME ...
Description
-----------
``builtin`` forces the shell to use a builtin command, rather than a function or program.
The following options are available:
**-n** or **--names**
Lists the names of all defined builtins.
**-q** or **--query** *BUILTIN*
Tests if any of the specified builtins exist.
Example
-------
::
builtin jobs
# executes the jobs builtin, even if a function named jobs exists