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
master
David Lawrence Ramsey 2005-07-11 20:19:59 +00:00
parent 90f772b250
commit 112620432a
3 changed files with 6 additions and 3 deletions

View File

@ -34,8 +34,11 @@ CVS code -
latter case is now handled elsewhere. (DLR) latter case is now handled elsewhere. (DLR)
- global.c: - global.c:
shortcut_init() shortcut_init()
- Simplify wording of nano_gotoline_msg. (Jordi) - Simplify wording of nano_gotoline_msg. (Jordi and Ken Tyler)
- nano.c: - 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() do_verbatim_input()
- If constant cursor position display is on, make sure the - If constant cursor position display is on, make sure the
cursor position is displayed properly when we finish. (DLR) cursor position is displayed properly when we finish. (DLR)

View File

@ -263,7 +263,7 @@ void shortcut_init(bool unjustify)
const char *nano_spell_msg = const char *nano_spell_msg =
N_("Invoke the spell checker, if available"); N_("Invoke the spell checker, if available");
const char *nano_gotoline_msg = 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"); const char *nano_replace_msg = N_("Replace text within the editor");
#ifndef NANO_SMALL #ifndef NANO_SMALL
const char *nano_mark_msg = N_("Mark text at the cursor position"); const char *nano_mark_msg = N_("Mark text at the cursor position");

View File

@ -985,7 +985,7 @@ void usage(void)
_("Usage: nano [+LINE,COLUMN] [GNU long option] [option] [file]\n\n")); _("Usage: nano [+LINE,COLUMN] [GNU long option] [option] [file]\n\n"));
printf(_("Option\t\tLong option\t\tMeaning\n")); printf(_("Option\t\tLong option\t\tMeaning\n"));
#else #else
printf(_("Usage: nano [+LINE] [option] [file]\n\n")); printf(_("Usage: nano [+LINE,COLUMN] [option] [file]\n\n"));
printf(_("Option\t\tMeaning\n")); printf(_("Option\t\tMeaning\n"));
#endif #endif