commit 63cddceeaa191c575c581ac84e5baa16d0cab85f
parent 486d4956ffe796766d77001ef2800413020f79f9
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 19 Jan 2020 12:50:42 +0100
docs: document the new -f/--rcfile option
Diffstat:
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/doc/nano.1 b/doc/nano.1
@@ -226,6 +226,10 @@ system either Backspace acts like Delete or Delete acts like Backspace.
.BR \-e ", " \-\-emptyline
Do not use the line below the title bar, leaving it entirely blank.
.TP
+.BR \-f\ \fIfile ", " \-\-rcfile= \fIfile
+Read only this \fIfile\fR for setting nano's options, instead of reading
+both the system-wide and the user's nanorc files.
+.TP
.BR \-g ", " \-\-showcursor
Make the cursor visible in the file browser (putting it on the
highlighted item) and in the help viewer. Useful for braille users
diff --git a/doc/nano.texi b/doc/nano.texi
@@ -334,6 +334,11 @@ system either Backspace acts like Delete or Delete acts like Backspace.
@itemx --emptyline
Do not use the line below the title bar, leaving it entirely blank.
+@item -f @var{file}
+@itemx --rcfile=@var{file}
+Read only this @var{file} for setting nano's options, instead of reading
+both the system-wide and the user's nanorc files.
+
@item -g
@itemx --showcursor
Make the cursor visible in the file browser (putting it on the