mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
* main.c (print_mc_usage): Use poptSetOtherOptionHelp()
From Andrew V. Samoilov <sav@bcs.zp.ua>
This commit is contained in:
parent
fd3601d90e
commit
f11fe69fe9
@ -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.
|
||||
|
||||
|
11
src/main.c
11
src/main.c
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user