--help
An option most programs accept that prints a short usage summary and exits.
In more detail
It is faster to read than a manual page when you only need a reminder of an option. It is a convention rather than a rule, so a few programs ignore it, and builtins answer to help name instead.
Example
grep --helpRelated terms
- man page — The built-in reference manual for a command, opened with man followed by the command name.
- help builtin — A bash builtin that prints the documentation for other builtins, such as help cd or help read.
- usage message — A short line a script prints to standard error when it is called wrongly, showing how it should be run.
Taught in
- Help, History, Completion And Aliases — Bash Scripting & Command Line Automation