* main.c (print_mc_usage): Use poptSetOtherOptionHelp()

From Andrew V. Samoilov <sav@bcs.zp.ua>
This commit is contained in:
Pavel Roskin 2002-10-21 23:21:24 +00:00
parent fd3601d90e
commit f11fe69fe9
2 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,8 @@
2002-10-21 Pavel Roskin <proski@gnu.org>
* main.c (print_mc_usage): Use poptSetOtherOptionHelp()
From Andrew V. Samoilov <sav@bcs.zp.ua>
* learn.c (learn_check_key): Simplify logic. Add a comment for
translators.

View File

@ -2072,15 +2072,12 @@ init_sigchld (void)
static void
print_mc_usage (poptContext ctx, FILE * stream)
{
int leftColWidth;
fprintf (stream,
_("Usage is:\n\n"
"mc [flags] [this_dir] [other_panel_dir]\n\n"));
poptSetOtherOptionHelp (ctx,
_("[flags] [this_dir] [other_panel_dir]\n\n"));
/* print help for options */
leftColWidth = poptPrintHelp (ctx, stream, 0);
fprintf (stream, " %-*s %s\n", leftColWidth, _("+number"),
fprintf (stream, " %-*s %s\n", poptPrintHelp (ctx, stream, 0),
_("+number"),
_("Set initial line number for the internal editor"));
fprintf (stream,
_("\n"