2019-03-31 17:05:09 +08:00
.. _cmd-help:
2018-12-17 09:39:33 +08:00
help - display fish documentation
2019-01-03 12:10:47 +08:00
=================================
2018-12-17 09:39:33 +08:00
2018-12-18 09:58:24 +08:00
Synopsis
--------
2018-12-17 05:08:41 +08:00
help [SECTION]
2018-12-18 09:58:24 +08:00
2018-12-17 05:08:41 +08:00
2018-12-19 10:44:30 +08:00
Description
2019-01-03 12:10:47 +08:00
-----------
2018-12-17 05:08:41 +08:00
2018-12-20 04:02:45 +08:00
`` help `` displays the fish help documentation.
2018-12-17 05:08:41 +08:00
2018-12-20 04:02:45 +08:00
If a `` SECTION `` is specified, the help for that command is shown.
2018-12-17 05:08:41 +08: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 20:01:07 +08: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-17 05:08:41 +08:00
2018-12-20 04:02:45 +08:00
Note that most builtin commands display their help in the terminal when given the `` --help `` option.
2018-12-17 05:08:41 +08:00
2018-12-19 10:44:30 +08:00
Example
2019-01-03 12:10:47 +08:00
-------
2018-12-17 05:08:41 +08:00
2018-12-20 04:02:45 +08:00
`` help fg `` shows the documentation for the `` fg `` builtin.