From 452513750b6c0926675c54eeddee890174434927 Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Wed, 9 Jun 2004 08:36:46 +0000
Subject: [PATCH] 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
---
 ChangeLog  | 4 ++++
 src/nano.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index ece44879..22fefc81 100644
--- 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
index f580f159..7453f411 100644
--- 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"));
-- 
GitLab