aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/commands.hdr.in
diff options
context:
space:
mode:
Diffstat (limited to 'doc_src/commands.hdr.in')
-rw-r--r--doc_src/commands.hdr.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc_src/commands.hdr.in b/doc_src/commands.hdr.in
index fb9ebefa..0ffb9d52 100644
--- a/doc_src/commands.hdr.in
+++ b/doc_src/commands.hdr.in
@@ -14,6 +14,21 @@
\endhtmlonly
`fish` ships with a large number of builtin commands, shellscript functions and external commands. These are all described below.
+Almost all fish commands respond to the `-h` or `--help` options to display their relevant help, also accessible using the `help` and `man` commands, like so:
+
+\fish
+echo -h
+echo --help
+# Prints help to the terminal window
+
+man echo
+# Displays the man page in the system pager
+# (normally 'less', 'more' or 'most').
+
+help echo
+# Open a web browser to show the relevant documentation
+\endfish
+
@command_list@
\htmlonly[block]