parse-options: write blank line to correct output stream
When commit 54e6dc7
added translation support to parse-options, an
fprintf was mistakenly replaced by a call to putchar(). Let's use fputc
instead.
Fixes t0040.11, t0040.12, t0040.33, and t1502.8.
Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
c97ee171a6
commit
1a9bf1e176
@ -599,7 +599,7 @@ static int usage_with_options_internal(struct parse_opt_ctx_t *ctx,
|
||||
if (**usagestr)
|
||||
fprintf_ln(outfile, _(" %s"), _(*usagestr));
|
||||
else
|
||||
putchar('\n');
|
||||
fputc('\n', outfile);
|
||||
usagestr++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user