docs: update the description of -R/--restricted, as it now reads nanorc

master
Benno Schulenberg 2018-09-30 13:36:45 +02:00
parent 9c2b67231e
commit eb9111a575
2 changed files with 8 additions and 8 deletions

View File

@ -131,11 +131,11 @@ Note that \fB\\t\fP stands for an actual Tab.
.TP .TP
.BR \-R ", " \-\-restricted .BR \-R ", " \-\-restricted
Restricted mode: don't read or write to any file not specified on the 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; command line. This means: don't read or write history files;
don't allow suspending nor spell checking; don't allow suspending; don't allow spell checking;
don't allow a file to be appended to, prepended to, or saved under a 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. different name if it already has one; and don't make backup files.
This restricted mode is also accessible by invoking \fBnano\fP Restricted mode can also be activated by invoking \fBnano\fP
with any name beginning with 'r' (e.g. "rnano"). with any name beginning with 'r' (e.g. "rnano").
.TP .TP
.BR \-S ", " \-\-smooth .BR \-S ", " \-\-smooth

View File

@ -227,11 +227,11 @@ Note that @code{\t} stands for a literal Tab character.
@item -R @item -R
@itemx --restricted @itemx --restricted
Restricted mode: don't read or write to any file not specified on the 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 command line. This means: don't read or write history files; don't allow
suspending nor spell checking; don't suspending; don't allow spell checking; don't
allow a file to be appended to, prepended to, or saved under a different 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. name if it already has one; and don't make backup files.
This restricted mode is also accessible by invoking @command{nano} with Restricted mode can also be activated by invoking @command{nano} with
any name beginning with @code{r} (e.g.@: @command{rnano}). any name beginning with @code{r} (e.g.@: @command{rnano}).
@item -S @item -S