commit 452513750b6c0926675c54eeddee890174434927
parent a9a6ce09d65e0a2827c4e67b07256b7a084738ce
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Wed, 9 Jun 2004 08:36:46 +0000
per CHAO Wei-Lun's patch, add missing "[dir]" and missing _()'s to the
"-E [dir]/--backupdir=[dir]" strings in usage()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1805 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -150,6 +150,10 @@ CVS code -
backup files. (DLR)
do_early_abort()
- Removed, as it's no longer called anywhere. (David Benbennick)
+ usage()
+ - Add missing "[dir]" and two missing _()'s around the strings
+ describing the -E [dir]/--backupdir=[dir]" option. (CHAO
+ Wei-Lun)
open_pipe()
- Call enable_signals() at the beginning and disable_signals()
at the end, so that we get a SIGINT when Ctrl-C is pressed
diff --git a/src/nano.c b/src/nano.c
@@ -638,7 +638,7 @@ void usage(void)
print1opt("-A", "--smarthome", _("Enable smart home key"));
print1opt("-B", "--backup", _("Backup existing files on save"));
print1opt("-D", "--dos", _("Write file in DOS format"));
- print1opt("-E", "--backupdir=[dir]", _("Directory for writing backup files"));
+ print1opt(_("-E [dir]"), _("--backupdir=[dir]"), _("Directory for writing backup files"));
#endif
#ifdef ENABLE_MULTIBUFFER
print1opt("-F", "--multibuffer", _("Enable multiple file buffers"));