2019-03-31 09:05:09 +00:00
|
|
|
.. _cmd-help:
|
|
|
|
|
2018-12-17 01:39:33 +00:00
|
|
|
help - display fish documentation
|
2019-01-03 04:10:47 +00:00
|
|
|
=================================
|
2018-12-17 01:39:33 +00:00
|
|
|
|
2018-12-18 01:58:24 +00:00
|
|
|
Synopsis
|
|
|
|
--------
|
2018-12-16 21:08:41 +00:00
|
|
|
|
2021-12-17 23:38:06 +00:00
|
|
|
``help`` [*SECTION*]
|
2018-12-16 21:08:41 +00:00
|
|
|
|
2018-12-19 02:44:30 +00:00
|
|
|
Description
|
2019-01-03 04:10:47 +00:00
|
|
|
-----------
|
2018-12-16 21:08:41 +00:00
|
|
|
|
2018-12-19 20:02:45 +00:00
|
|
|
``help`` displays the fish help documentation.
|
2018-12-16 21:08:41 +00:00
|
|
|
|
2021-12-17 23:38:06 +00:00
|
|
|
If a *SECTION* is specified, the help for that command is shown.
|
2018-12-16 21:08:41 +00:00
|
|
|
|
2021-12-17 23:38:06 +00:00
|
|
|
If the BROWSER environment variable is set, it will be used to display the documentation.
|
|
|
|
Otherwise, fish will search for a suitable browser.
|
2018-12-16 21:08:41 +00:00
|
|
|
|
2021-12-17 23:38:06 +00:00
|
|
|
To use a different browser than as described above, one can set the :envvar:`fish_help_browser` variable.
|
|
|
|
This variable may be set as a list, where the first element is the browser command and the rest are browser options.
|
2018-12-16 21:08:41 +00:00
|
|
|
|
2018-12-19 02:44:30 +00:00
|
|
|
Example
|
2019-01-03 04:10:47 +00:00
|
|
|
-------
|
2018-12-16 21:08:41 +00:00
|
|
|
|
2020-03-21 14:31:25 +00:00
|
|
|
``help fg`` shows the documentation for the :ref:`fg <cmd-fg>` builtin.
|
2021-12-17 23:38:06 +00:00
|
|
|
|
|
|
|
Notes
|
|
|
|
-----
|
|
|
|
|
|
|
|
Most builtin commands display their help in the terminal when given the **--help** option.
|