1
1

add documentation updates for -E/--backupdir's new ability to make

filenames unique, and preemptively update the version number


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2567 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
David Lawrence Ramsey 2005-05-30 02:09:21 +00:00
родитель 54b74cee91
Коммит 527f1743f6
6 изменённых файлов: 16 добавлений и 15 удалений

Просмотреть файл

@ -37,8 +37,9 @@ CVS code -
replace_line(), and mallocstrncpy(). (DLR)
- When using a backup directory, make sure all the filenames
written are unique by using get_next_filename() when
necessary. Changes to get_next_filename(), write_file(), and
die(). (DLR, suggested by James Collings)
necessary. Changes to get_next_filename(), write_file(),
die(), usage(), nano.1, nanorc.5, nanorc.sample, and
nano.texi. (DLR, suggested by James Collings)
- cut.c:
cut_line()
- Set placewewant properly after cutting a line, to avoid a

Просмотреть файл

@ -6,7 +6,7 @@
.\" Public License for copying conditions. There is NO warranty.
.\"
.\" $Id$
.TH NANO 1 "version 1.3.7" "May 16, 2005"
.TH NANO 1 "version 1.3.8" "May 29, 2005"
.\" Please adjust this date whenever revising the manpage.
.\"
@ -51,8 +51,8 @@ When saving a file, back up the previous version of it to the current
filename suffixed with a ~.
.TP
.B \-E \fIdir\fP (\-\-backupdir=\fIdir\fP)
Set the directory where \fBnano\fP puts the backup files if file backups
are enabled.
Set the directory where \fBnano\fP puts unique backup files if file
backups are enabled.
.TP
.B \-F (\-\-multibuffer)
Enable multiple file buffers, if available.

Просмотреть файл

@ -6,7 +6,7 @@
.\" Public License for copying conditions. There is NO warranty.
.\"
.\" $Id$
.TH NANORC 5 "version 1.3.7" "March 26, 2005"
.TH NANORC 5 "version 1.3.8" "May 29, 2005"
.\" Please adjust this date whenever revising the manpage.
.\"
.SH NAME
@ -49,8 +49,8 @@ Create backup files in
.IR filename~ .
.TP
\fBset backupdir "\fIdirectory\fP"\fP
Set the directory where \fBnano\fP puts the backup files if file backups
are enabled.
Set the directory where \fBnano\fP puts unique backup files if file
backups are enabled.
\fBset brackets "\fIstring\fP"\fP
Set the characters treated as closing brackets. They cannot contain
tabs or spaces. Only closing punctuation, optionally followed by

Просмотреть файл

@ -14,7 +14,7 @@
## Backup files to filename~.
# set backup
## The directory to put the backup files in.
## The directory to put unique backup files in.
# set backupdir ""
## The characters treated as closing brackets. They cannot contain tabs

Просмотреть файл

@ -8,8 +8,8 @@
@c Run `makeinfo' rather than `texinfo-format-buffer'.
@smallbook
@set EDITION 0.1
@set VERSION 1.3.7
@set UPDATED 16 May 2005
@set VERSION 1.3.8
@set UPDATED 29 May 2005
@dircategory Editors
@direntry
@ -23,7 +23,7 @@
@titlepage
@title GNU @code{nano}
@subtitle a small and friendly text editor.
@subtitle version 1.3.7
@subtitle version 1.3.8
@author Chris Allegretta
@page
@ -125,7 +125,7 @@ When saving a file, back up the previous version of it to the current
filename suffixed with a ~.
@item -E, --backupdir=[dir]
Set the directory where @code{nano} puts the backup files if file
Set the directory where @code{nano} puts unique backup files if file
backups are enabled.
@item -F, --multibuffer

Просмотреть файл

@ -1015,9 +1015,9 @@ void usage(void)
N_("Start at line LINE, column COLUMN"));
#ifndef NANO_SMALL
print1opt("-A", "--smarthome", N_("Enable smart home key"));
print1opt("-B", "--backup", N_("Backup existing files on save"));
print1opt("-B", "--backup", N_("Save backups of existing files"));
print1opt(_("-E [dir]"), _("--backupdir=[dir]"),
N_("Directory for writing backup files"));
N_("Directory for saving unique backup files"));
#endif
#ifdef ENABLE_MULTIBUFFER
print1opt("-F", "--multibuffer", N_("Enable multiple file buffers"));