From 63cddceeaa191c575c581ac84e5baa16d0cab85f Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 19 Jan 2020 12:50:42 +0100 Subject: [PATCH] docs: document the new -f/--rcfile option --- doc/nano.1 | 4 ++++ doc/nano.texi | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/doc/nano.1 b/doc/nano.1 index 98fab579..16928071 100644 --- 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 index 86abc9b4..66298936 100644 --- 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