mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
e23e52a8e9
Harmonizes the option listing including formatting in a similar manner to the synopsis of each entry.
34 lines
602 B
ReStructuredText
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
|
|
|