From: David Lawrence Ramsey Date: Mon, 11 Jul 2005 20:19:59 +0000 (+0000) Subject: per Ken Tyler's suggestion, simplify do_gotoline_msg further; also, in X-Git-Tag: v1.3.9~198 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=112620432a9189222a4602dcaf315a9c044ccf95;p=nano.git 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 --- diff --git a/ChangeLog b/ChangeLog index 02a04b55..4379458e 100644 --- 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 index 12ec5dd3..06300044 100644 --- 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 index 266dd74c..37cbf21c 100644 --- 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