diff --git a/doc/nano.1 b/doc/nano.1 index cc2eab80..5e0b66be 100644 --- a/doc/nano.1 +++ b/doc/nano.1 @@ -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. diff --git a/doc/nano.texi b/doc/nano.texi index dbdc2ff8..25ecb0ac 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -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,