diff options
-rw-r--r-- | parse-options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-options.c b/parse-options.c index 312a85dbde..78d96162ae 100644 --- a/parse-options.c +++ b/parse-options.c @@ -600,7 +600,7 @@ static int usage_with_options_internal(struct parse_opt_ctx_t *ctx, usagestr++; } - if (opts->type != OPTION_GROUP) + if (opts->type != OPTION_GROUP && opts->type != OPTION_END) fputc('\n', outfile); for (; opts->type != OPTION_END; opts++) { |