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 .BR \-y ", " \-\-afterends
Make Ctrl+Right and Ctrl+Delete stop at word ends instead of beginnings. Make Ctrl+Right and Ctrl+Delete stop at word ends instead of beginnings.
.TP .TP
.BR \-z ", " \-\-listsyntaxes
List the names of the available syntaxes and exit.
.TP
.BR \-! ", " \-\-magic .BR \-! ", " \-\-magic
When neither the file's name nor its first line give a clue, When neither the file's name nor its first line give a clue,
try using libmagic to determine the applicable syntax. 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 Make @kbd{Ctrl+Right} and @kbd{Ctrl+Delete} stop at word ends
instead of beginnings. instead of beginnings.
@item -z
@itemx --listsyntaxes
List the names of the available syntaxes and exit.
@item -! @item -!
@itemx --magic @itemx --magic
When neither the file's name nor its first line give a clue, When neither the file's name nor its first line give a clue,