1
1
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1380 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
Jordi Mallach 2003-01-18 22:42:34 +00:00
родитель 8495c71dd0
Коммит eeb500428d
2 изменённых файлов: 11 добавлений и 5 удалений

Просмотреть файл

@ -1,4 +1,9 @@
CVS Code - CVS Code -
- nano.c:
usage():
- Remove gettext markings from -p/--preserve (Jordi).
do_preserve_msg():
- Unsplit error message into a single fprintf call (Jordi).
GNU nano 1.1.99pre1 - 2003.01.17 GNU nano 1.1.99pre1 - 2003.01.17
- General: - General:

11
nano.c
Просмотреть файл

@ -665,7 +665,7 @@ void usage(void)
#ifndef DISABLE_OPERATINGDIR #ifndef DISABLE_OPERATINGDIR
print1opt(_("-o [dir]"), _("--operatingdir=[dir]"), _("Set operating directory")); print1opt(_("-o [dir]"), _("--operatingdir=[dir]"), _("Set operating directory"));
#endif #endif
print1opt(_("-p"), _("--preserve"), _("Preserve XON (^Q) and XOFF (^S) keys")); print1opt("-p", "--preserve", _("Preserve XON (^Q) and XOFF (^S) keys"));
#ifndef DISABLE_WRAPJUSTIFY #ifndef DISABLE_WRAPJUSTIFY
print1opt(_("-r [#cols]"), _("--fill=[#cols]"), _("Set fill cols to (wrap lines at) #cols")); print1opt(_("-r [#cols]"), _("--fill=[#cols]"), _("Set fill cols to (wrap lines at) #cols"));
#endif #endif
@ -770,10 +770,11 @@ void nano_disabled_msg(void)
void do_preserve_msg(void) void do_preserve_msg(void)
{ {
fprintf(stderr, _("\nThe -p flag now invokes the Pico \"preserve\" flag. The Pico\n")); fprintf(stderr, _("\nThe -p flag now invokes the Pico \"preserve\" flag.\n"
fprintf(stderr, _("compatibility flag has been removed as nano is now fully Pico\n")); "The Pico compatibility flag has been removed as nano\n"
fprintf(stderr, _("compatible. Please see the nano FAQ for more info on this change...\n\n")); "now fully Pico compatible. Please see the nano FAQ\n"
fprintf(stderr, _("Press return to continue\n")); "for more info on this change...\n\n"
"Press return to continue\n"));
while (getchar() != '\n'); while (getchar() != '\n');
} }