Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
a76bffd5
...
a76bffd55d3657bfb369656e7225eca21323c454
authored
2016-10-16 01:10:01 +0300
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Minor fix in help output.
Print "[OPTION...]", instead of "[OPTION]..."
1 parent
a29af229
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
13 additions
and
13 deletions
libmailutils/opt/help.c
libmailutils/tests/parseopt_help00.at
libmailutils/tests/parseopt_help02.at
libmailutils/tests/parseopt_help03.at
libmailutils/tests/parseopt_help04.at
libmailutils/tests/parseopt_help05.at
libmailutils/tests/parseopt_help06.at
libmailutils/tests/parseopt_help07.at
libmailutils/tests/parseopt_help08.at
libmailutils/tests/parseopt_help11.at
libmailutils/tests/parseopt_help12.at
libmailutils/opt/help.c
View file @
a76bffd
...
...
@@ -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
)
{
...
...
libmailutils/tests/parseopt_help00.at
View file @
a76bffd
...
...
@@ -21,7 +21,7 @@ PARSEOPT_DEFAULT
parseopt --help
],
[0],
[[Usage: parseopt [OPTION
]...
[[Usage: parseopt [OPTION
...]
Group A
-a, --all no arguments to this one
...
...
libmailutils/tests/parseopt_help02.at
View file @
a76bffd
...
...
@@ -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
...
...
libmailutils/tests/parseopt_help03.at
View file @
a76bffd
...
...
@@ -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
...
...
libmailutils/tests/parseopt_help04.at
View file @
a76bffd
...
...
@@ -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
...
...
libmailutils/tests/parseopt_help05.at
View file @
a76bffd
...
...
@@ -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
...
...
libmailutils/tests/parseopt_help06.at
View file @
a76bffd
...
...
@@ -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
...
...
libmailutils/tests/parseopt_help07.at
View file @
a76bffd
...
...
@@ -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
...
...
libmailutils/tests/parseopt_help08.at
View file @
a76bffd
...
...
@@ -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
...
...
libmailutils/tests/parseopt_help11.at
View file @
a76bffd
...
...
@@ -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
...
...
libmailutils/tests/parseopt_help12.at
View file @
a76bffd
...
...
@@ -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
...
...
Please
register
or
sign in
to post a comment