docs: document the new --listsyntaxes (-z) option

This commit is contained in:
Benno Schulenberg 2024-05-26 16:41:41 +02:00
parent 49c2f5dea9
commit a590645cde
2 changed files with 7 additions and 0 deletions

View File

@ -347,6 +347,9 @@ Don't show the two help lines at the bottom of the screen.
.BR \-y ", " \-\-afterends
Make Ctrl+Right and Ctrl+Delete stop at word ends instead of beginnings.
.TP
.BR \-z ", " \-\-listsyntaxes
List the names of the available syntaxes and exit.
.TP
.BR \-! ", " \-\-magic
When neither the file's name nor its first line give a clue,
try using libmagic to determine the applicable syntax.

View File

@ -712,6 +712,10 @@ disabled to display the help-system navigation keys.
Make @kbd{Ctrl+Right} and @kbd{Ctrl+Delete} stop at word ends
instead of beginnings.
@item -z
@itemx --listsyntaxes
List the names of the available syntaxes and exit.
@item -!
@itemx --magic
When neither the file's name nor its first line give a clue,