commit 112620432a9189222a4602dcaf315a9c044ccf95
parent 90f772b250c6f3eb83dae59579fc8bf2c63ee9e7
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 11 Jul 2005 20:19:59 +0000
per Ken Tyler's suggestion, simplify do_gotoline_msg further; also, in
usage(), properly mention the support for "[+LINE,COLUMN]" at the
command line when HAVE_GETOPT_LONG isn't defined
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2848 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -34,8 +34,11 @@ CVS code -
latter case is now handled elsewhere. (DLR)
- global.c:
shortcut_init()
- - Simplify wording of nano_gotoline_msg. (Jordi)
+ - Simplify wording of nano_gotoline_msg. (Jordi and Ken Tyler)
- nano.c:
+ usage()
+ - Properly mention the support for "[+LINE,COLUMN]" on the
+ command line when HAVE_GETOPT_LONG isn't defined. (DLR)
do_verbatim_input()
- If constant cursor position display is on, make sure the
cursor position is displayed properly when we finish. (DLR)
diff --git a/src/global.c b/src/global.c
@@ -263,7 +263,7 @@ void shortcut_init(bool unjustify)
const char *nano_spell_msg =
N_("Invoke the spell checker, if available");
const char *nano_gotoline_msg =
- N_("Go to a specific line and column number");
+ N_("Go to a line and column number");
const char *nano_replace_msg = N_("Replace text within the editor");
#ifndef NANO_SMALL
const char *nano_mark_msg = N_("Mark text at the cursor position");
diff --git a/src/nano.c b/src/nano.c
@@ -985,7 +985,7 @@ void usage(void)
_("Usage: nano [+LINE,COLUMN] [GNU long option] [option] [file]\n\n"));
printf(_("Option\t\tLong option\t\tMeaning\n"));
#else
- printf(_("Usage: nano [+LINE] [option] [file]\n\n"));
+ printf(_("Usage: nano [+LINE,COLUMN] [option] [file]\n\n"));
printf(_("Option\t\tMeaning\n"));
#endif