diff options
author | Brandon Casey <drafnel@gmail.com> | 2017-09-24 21:08:04 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-25 14:35:52 +0900 |
commit | 1a9bf1e176439d415b97fb8c5a556f69ea503877 (patch) | |
tree | 07681bd8a63f0e2c81a319d6d32b35493512b0ce /t/t1502-rev-parse-parseopt.sh | |
parent | c97ee171a6b5a7e41234d46341b496146fa08bf1 (diff) | |
download | git-1a9bf1e176439d415b97fb8c5a556f69ea503877.tar.gz |
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>
Diffstat (limited to 't/t1502-rev-parse-parseopt.sh')
-rwxr-xr-x | t/t1502-rev-parse-parseopt.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1502-rev-parse-parseopt.sh b/t/t1502-rev-parse-parseopt.sh index 1bfa80f8ac..ce7dda1ee8 100755 --- a/t/t1502-rev-parse-parseopt.sh +++ b/t/t1502-rev-parse-parseopt.sh @@ -139,7 +139,7 @@ END_EXPECT test_i18ncmp expect output ' -test_expect_failure 'test --parseopt invalid switch help output' ' +test_expect_success 'test --parseopt invalid switch help output' ' sed -e "s/^|//" >expect <<\END_EXPECT && |error: unknown option `does-not-exist'\'' |usage: some-command [options] <args>... |