longoption
Long option refers to a command-line option that starts with two hyphens and uses a descriptive name, such as --help or --output. Long options are commonly used in GNU and other Unix-like ecosystems to improve readability, as opposed to short options that use a single dash and a single letter (for example -h).
Parsing long options is typically done with libraries such as getopt_long, a GNU extension to the standard
Examples of long options include --help, --version, --output=log.txt, and, in version control tools, --oneline or --decorate.
History and standards: Long options originated with GNU utilities and the getopt_long interface, which extends the
See also: getopt, getopt_long, command-line interface, options parsing.