nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit a590645cde905c325b39ef0dbdf748871fad5567
parent 49c2f5dea98bb0876c0f126f0029530ec2ab7838
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun, 26 May 2024 16:41:41 +0200

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

Diffstat:
Mdoc/nano.1 | 3+++
Mdoc/nano.texi | 4++++
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git 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 @@ -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,