From 80f7852941cf314de864cb4ff7ad52c3d35f9e18 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 28 Aug 2022 17:11:25 +0200 Subject: [PATCH] docs: describe --disable-formatter and --disable-linter configure options --- doc/faq.html | 4 +++- doc/nano.texi | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/faq.html b/doc/faq.html index 8d74b6b8..73f3863a 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -150,16 +150,18 @@ --disable-color Disable color and syntax highlighting --disable-comment Disable the comment/uncomment function --disable-extra Disable the easter egg + --disable-formatter Disable the formatting tool --disable-help Disable the built-in help texts --disable-histories Disable the saving of search strings and cursor positions --disable-justify Disable the justify/unjustify functions --disable-libmagic Disable the use of libmagic for determining a file's syntax --disable-linenumbers Disable line numbering + --disable-linter Disable the linting tool --disable-mouse Disable mouse support --disable-multibuffer Disable the opening of multiple file buffers --disable-nanorc Disable the use of .nanorc files --disable-operatingdir Disable the setting of an operating directory - --disable-speller Disable the spell-checker functions + --disable-speller Disable the spell-checking tool --disable-tabcomp Disable the tab-completion functions --disable-wordcomp Disable the word-completion function --disable-wrapping Disable all hard-wrapping of text diff --git a/doc/nano.texi b/doc/nano.texi index 816b95a2..7490e357 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -1941,6 +1941,9 @@ Exclude the single-keystroke comment/uncomment function (@w{@kbd{M-3}}). @item --disable-extra Exclude the Easter egg: a crawl of major contributors. +@item --disable-formatter +Exclude the code for calling a formatting tool. + @item --disable-help Exclude the help texts (@kbd{^G}). This makes the binary much smaller, but also makes it difficult for new users to learn more than very basic @@ -1966,6 +1969,9 @@ in most cases the regexes for filename and header line will be enough). Exclude the ability to show line numbers. This also eliminates the @option{-l} command-line option, which turns line numbering on. +@item --disable-linter +Exclude the code for calling a linting tool. + @item --disable-mouse Exclude all mouse functionality. This also eliminates the @option{-m} command-line option, which enables the mouse functionality.