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
2019-09-17 09:59:04 +00:00
::
2018-12-18 01:58:24 +00:00
2019-09-17 09:59:04 +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
2018-12-19 20:02:45 +00:00
If a `` SECTION `` is specified, the help for that command is shown.
2018-12-16 21:08:41 +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.
2019-05-05 12:01:07 +00:00
If you prefer to use a different browser (other than as described above) for fish help, you can set the 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 20:02:45 +00:00
Note that most builtin commands display their help in the terminal when given the `` --help `` option.
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.