mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
be451091d4
We use plural "*OPTIONS*" more often than "*OPTION*...", so let's do that everywhere. In some other places where we do have an ellipsis, make sure to use singular, since the ellipsis already means repetition. This change is incomplete, and I'm not sure if this is worth it, since it's subjective, so I might drop it.
31 lines
588 B
ReStructuredText
31 lines
588 B
ReStructuredText
.. _cmd-builtin:
|
|
|
|
builtin - run a builtin command
|
|
===============================
|
|
|
|
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 parameters are available:
|
|
|
|
**-n** or **--names**
|
|
List the names of all defined builtins
|
|
**-q** or **--query**
|
|
Tests if any of the specified builtin(s) exist
|
|
|
|
Example
|
|
-------
|
|
|
|
::
|
|
|
|
builtin jobs
|
|
# executes the jobs builtin, even if a function named jobs exists
|
|
|