Commit a76bffd5 a76bffd55d3657bfb369656e7225eca21323c454 by Sergey Poznyakoff

Minor fix in help output.

Print "[OPTION...]", instead of "[OPTION]..."
1 parent a29af229
......@@ -521,7 +521,7 @@ print_program_usage (struct mu_parseopt *po, int optsum, mu_stream_t str)
optsum = 0;
}
else
mu_stream_printf (str, "[%s]...", _("OPTION"));
mu_stream_printf (str, "[%s...]", _("OPTION"));
if (arg_text)
{
......
......@@ -21,7 +21,7 @@ PARSEOPT_DEFAULT
parseopt --help
],
[0],
[[Usage: parseopt [OPTION]...
[[Usage: parseopt [OPTION...]
Group A
-a, --all no arguments to this one
......
......@@ -21,7 +21,7 @@ PARSEOPT_DEFAULT
MU_PARSEOPT_PROG_NAME=newname parseopt --help
],
[0],
[[Usage: newname [OPTION]...
[[Usage: newname [OPTION...]
Group A
-a, --all no arguments to this one
......
......@@ -21,7 +21,7 @@ unset ARGP_HELP_FMT
MU_PARSEOPT_PROG_DOC="Tests option parsing" parseopt --help
],
[0],
[[Usage: parseopt [OPTION]...
[[Usage: parseopt [OPTION...]
Tests option parsing
Group A
......
......@@ -21,7 +21,7 @@ PARSEOPT_DEFAULT
MU_PARSEOPT_PROG_ARGS="SOME MORE ARGS" parseopt --help
],
[0],
[Usage: parseopt [[OPTION]]... SOME MORE ARGS
[Usage: parseopt [[OPTION...]] SOME MORE ARGS
Group A
-a, --all no arguments to this one
......
......@@ -21,7 +21,7 @@ PARSEOPT_DEFAULT
MU_PARSEOPT_BUG_ADDRESS='gray@gnu.org' parseopt --help
],
[0],
[Usage: parseopt [[OPTION]]...
[Usage: parseopt [[OPTION...]]
Group A
-a, --all no arguments to this one
......
......@@ -21,7 +21,7 @@ PARSEOPT_DEFAULT
MU_PARSEOPT_PACKAGE_NAME='GNU Mailutils' MU_PARSEOPT_PACKAGE_URL='http://mailutils.org' parseopt --help
],
[0],
[[Usage: parseopt [OPTION]...
[[Usage: parseopt [OPTION...]
Group A
-a, --all no arguments to this one
......
......@@ -27,7 +27,7 @@ MU_PARSEOPT_PROG_DOC="Tests option parsing"\
parseopt --help
],
[0],
[[Usage: parseopt [OPTION]... SOME MORE ARGS
[[Usage: parseopt [OPTION...] SOME MORE ARGS
Tests option parsing
Group A
......
......@@ -22,7 +22,7 @@ ARGP_HELP_FMT=dup-args,no-dup-args-note,short-opt-col=1,opt-doc-col=32,header-co
parseopt --help
],
[0],
[[Usage: parseopt [OPTION]...
[[Usage: parseopt [OPTION...]
Group A
-a, --all no arguments to this one
......
......@@ -21,7 +21,7 @@ PARSEOPT_DEFAULT
MU_PARSEOPT_VERSION_HOOK=1 parseopt --help
],
[0],
[[Usage: parseopt [OPTION]...
[[Usage: parseopt [OPTION...]
Group A
-a, --all no arguments to this one
......
......@@ -21,9 +21,9 @@ PARSEOPT_DEFAULT
MU_PARSEOPT_PROG_ARGS="SOME MORE ARGS|ALTERNATIVE ARGS|ANOTHER ARGS" parseopt --help
],
[0],
[Usage: parseopt [[OPTION]]... SOME MORE ARGS
or: parseopt [[OPTION]]... ALTERNATIVE ARGS
or: parseopt [[OPTION]]... ANOTHER ARGS
[Usage: parseopt [[OPTION...]] SOME MORE ARGS
or: parseopt [[OPTION...]] ALTERNATIVE ARGS
or: parseopt [[OPTION...]] ANOTHER ARGS
Group A
-a, --all no arguments to this one
......