commit eb9111a57566e41ecff7c2a261c69ae2d3d0bd0f
parent 9c2b67231e888416092a0f4b4b87d269a5df651c
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 30 Sep 2018 13:36:45 +0200
docs: update the description of -R/--restricted, as it now reads nanorc
Diffstat:
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/doc/nano.1 b/doc/nano.1
@@ -131,11 +131,11 @@ Note that \fB\\t\fP stands for an actual Tab.
.TP
.BR \-R ", " \-\-restricted
Restricted mode: don't read or write to any file not specified on the
-command line; don't read any \fInanorc\fP files nor history files;
-don't allow suspending nor spell checking;
+command line. This means: don't read or write history files;
+don't allow suspending; don't allow spell checking;
don't allow a file to be appended to, prepended to, or saved under a
-different name if it already has one; and don't use backup files.
-This restricted mode is also accessible by invoking \fBnano\fP
+different name if it already has one; and don't make backup files.
+Restricted mode can also be activated by invoking \fBnano\fP
with any name beginning with 'r' (e.g. "rnano").
.TP
.BR \-S ", " \-\-smooth
diff --git a/doc/nano.texi b/doc/nano.texi
@@ -227,11 +227,11 @@ Note that @code{\t} stands for a literal Tab character.
@item -R
@itemx --restricted
Restricted mode: don't read or write to any file not specified on the
-command line; don't read any nanorc files nor history files; don't allow
-suspending nor spell checking; don't
+command line. This means: don't read or write history files; don't allow
+suspending; don't allow spell checking; don't
allow a file to be appended to, prepended to, or saved under a different
-name if it already has one; and don't use backup files.
-This restricted mode is also accessible by invoking @command{nano} with
+name if it already has one; and don't make backup files.
+Restricted mode can also be activated by invoking @command{nano} with
any name beginning with @code{r} (e.g.@: @command{rnano}).
@item -S