Minor fix in help output.
Print "[OPTION...]", instead of "[OPTION]..."
Showing
11 changed files
with
13 additions
and
13 deletions
... | @@ -521,7 +521,7 @@ print_program_usage (struct mu_parseopt *po, int optsum, mu_stream_t str) | ... | @@ -521,7 +521,7 @@ print_program_usage (struct mu_parseopt *po, int optsum, mu_stream_t str) |
521 | optsum = 0; | 521 | optsum = 0; |
522 | } | 522 | } |
523 | else | 523 | else |
524 | mu_stream_printf (str, "[%s]...", _("OPTION")); | 524 | mu_stream_printf (str, "[%s...]", _("OPTION")); |
525 | 525 | ||
526 | if (arg_text) | 526 | if (arg_text) |
527 | { | 527 | { | ... | ... |
... | @@ -21,7 +21,7 @@ PARSEOPT_DEFAULT | ... | @@ -21,7 +21,7 @@ PARSEOPT_DEFAULT |
21 | parseopt --help | 21 | parseopt --help |
22 | ], | 22 | ], |
23 | [0], | 23 | [0], |
24 | [[Usage: parseopt [OPTION]... | 24 | [[Usage: parseopt [OPTION...] |
25 | 25 | ||
26 | Group A | 26 | Group A |
27 | -a, --all no arguments to this one | 27 | -a, --all no arguments to this one | ... | ... |
... | @@ -21,7 +21,7 @@ PARSEOPT_DEFAULT | ... | @@ -21,7 +21,7 @@ PARSEOPT_DEFAULT |
21 | MU_PARSEOPT_PROG_NAME=newname parseopt --help | 21 | MU_PARSEOPT_PROG_NAME=newname parseopt --help |
22 | ], | 22 | ], |
23 | [0], | 23 | [0], |
24 | [[Usage: newname [OPTION]... | 24 | [[Usage: newname [OPTION...] |
25 | 25 | ||
26 | Group A | 26 | Group A |
27 | -a, --all no arguments to this one | 27 | -a, --all no arguments to this one | ... | ... |
... | @@ -21,7 +21,7 @@ unset ARGP_HELP_FMT | ... | @@ -21,7 +21,7 @@ unset ARGP_HELP_FMT |
21 | MU_PARSEOPT_PROG_DOC="Tests option parsing" parseopt --help | 21 | MU_PARSEOPT_PROG_DOC="Tests option parsing" parseopt --help |
22 | ], | 22 | ], |
23 | [0], | 23 | [0], |
24 | [[Usage: parseopt [OPTION]... | 24 | [[Usage: parseopt [OPTION...] |
25 | Tests option parsing | 25 | Tests option parsing |
26 | 26 | ||
27 | Group A | 27 | Group A | ... | ... |
... | @@ -21,7 +21,7 @@ PARSEOPT_DEFAULT | ... | @@ -21,7 +21,7 @@ PARSEOPT_DEFAULT |
21 | MU_PARSEOPT_PROG_ARGS="SOME MORE ARGS" parseopt --help | 21 | MU_PARSEOPT_PROG_ARGS="SOME MORE ARGS" parseopt --help |
22 | ], | 22 | ], |
23 | [0], | 23 | [0], |
24 | [Usage: parseopt [[OPTION]]... SOME MORE ARGS | 24 | [Usage: parseopt [[OPTION...]] SOME MORE ARGS |
25 | 25 | ||
26 | Group A | 26 | Group A |
27 | -a, --all no arguments to this one | 27 | -a, --all no arguments to this one | ... | ... |
... | @@ -21,7 +21,7 @@ PARSEOPT_DEFAULT | ... | @@ -21,7 +21,7 @@ PARSEOPT_DEFAULT |
21 | MU_PARSEOPT_BUG_ADDRESS='gray@gnu.org' parseopt --help | 21 | MU_PARSEOPT_BUG_ADDRESS='gray@gnu.org' parseopt --help |
22 | ], | 22 | ], |
23 | [0], | 23 | [0], |
24 | [Usage: parseopt [[OPTION]]... | 24 | [Usage: parseopt [[OPTION...]] |
25 | 25 | ||
26 | Group A | 26 | Group A |
27 | -a, --all no arguments to this one | 27 | -a, --all no arguments to this one | ... | ... |
... | @@ -21,7 +21,7 @@ PARSEOPT_DEFAULT | ... | @@ -21,7 +21,7 @@ PARSEOPT_DEFAULT |
21 | MU_PARSEOPT_PACKAGE_NAME='GNU Mailutils' MU_PARSEOPT_PACKAGE_URL='http://mailutils.org' parseopt --help | 21 | MU_PARSEOPT_PACKAGE_NAME='GNU Mailutils' MU_PARSEOPT_PACKAGE_URL='http://mailutils.org' parseopt --help |
22 | ], | 22 | ], |
23 | [0], | 23 | [0], |
24 | [[Usage: parseopt [OPTION]... | 24 | [[Usage: parseopt [OPTION...] |
25 | 25 | ||
26 | Group A | 26 | Group A |
27 | -a, --all no arguments to this one | 27 | -a, --all no arguments to this one | ... | ... |
... | @@ -27,7 +27,7 @@ MU_PARSEOPT_PROG_DOC="Tests option parsing"\ | ... | @@ -27,7 +27,7 @@ MU_PARSEOPT_PROG_DOC="Tests option parsing"\ |
27 | parseopt --help | 27 | parseopt --help |
28 | ], | 28 | ], |
29 | [0], | 29 | [0], |
30 | [[Usage: parseopt [OPTION]... SOME MORE ARGS | 30 | [[Usage: parseopt [OPTION...] SOME MORE ARGS |
31 | Tests option parsing | 31 | Tests option parsing |
32 | 32 | ||
33 | Group A | 33 | 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 | ... | @@ -22,7 +22,7 @@ ARGP_HELP_FMT=dup-args,no-dup-args-note,short-opt-col=1,opt-doc-col=32,header-co |
22 | parseopt --help | 22 | parseopt --help |
23 | ], | 23 | ], |
24 | [0], | 24 | [0], |
25 | [[Usage: parseopt [OPTION]... | 25 | [[Usage: parseopt [OPTION...] |
26 | 26 | ||
27 | Group A | 27 | Group A |
28 | -a, --all no arguments to this one | 28 | -a, --all no arguments to this one | ... | ... |
... | @@ -21,7 +21,7 @@ PARSEOPT_DEFAULT | ... | @@ -21,7 +21,7 @@ PARSEOPT_DEFAULT |
21 | MU_PARSEOPT_VERSION_HOOK=1 parseopt --help | 21 | MU_PARSEOPT_VERSION_HOOK=1 parseopt --help |
22 | ], | 22 | ], |
23 | [0], | 23 | [0], |
24 | [[Usage: parseopt [OPTION]... | 24 | [[Usage: parseopt [OPTION...] |
25 | 25 | ||
26 | Group A | 26 | Group A |
27 | -a, --all no arguments to this one | 27 | -a, --all no arguments to this one | ... | ... |
... | @@ -21,9 +21,9 @@ PARSEOPT_DEFAULT | ... | @@ -21,9 +21,9 @@ PARSEOPT_DEFAULT |
21 | MU_PARSEOPT_PROG_ARGS="SOME MORE ARGS|ALTERNATIVE ARGS|ANOTHER ARGS" parseopt --help | 21 | MU_PARSEOPT_PROG_ARGS="SOME MORE ARGS|ALTERNATIVE ARGS|ANOTHER ARGS" parseopt --help |
22 | ], | 22 | ], |
23 | [0], | 23 | [0], |
24 | [Usage: parseopt [[OPTION]]... SOME MORE ARGS | 24 | [Usage: parseopt [[OPTION...]] SOME MORE ARGS |
25 | or: parseopt [[OPTION]]... ALTERNATIVE ARGS | 25 | or: parseopt [[OPTION...]] ALTERNATIVE ARGS |
26 | or: parseopt [[OPTION]]... ANOTHER ARGS | 26 | or: parseopt [[OPTION...]] ANOTHER ARGS |
27 | 27 | ||
28 | Group A | 28 | Group A |
29 | -a, --all no arguments to this one | 29 | -a, --all no arguments to this one | ... | ... |
-
Please register or sign in to post a comment