diff options
author | Jeff King <peff@peff.net> | 2008-06-14 09:27:21 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-06-14 20:39:16 +0200 |
commit | 44d86e910d61dab4f059d86705599bbb2747b10f (patch) | |
tree | 177b3233ec2c4f1629d421201b650cf5a6059f96 /t/t1502-rev-parse-parseopt.sh | |
parent | mask necessary whitespace policy violations in test scripts (diff) | |
download | git-44d86e910d61dab4f059d86705599bbb2747b10f.tar.xz git-44d86e910d61dab4f059d86705599bbb2747b10f.zip |
avoid whitespace on empty line in automatic usage message
When outputting a usage message with a blank line in the
header, we would output a line with four spaces. Make this
truly a blank line.
This helps us remove trailing whitespace from a test vector.
Signed-off-by: Jeff King <peff@peff.net>
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 d24a47d114..7cdd70a188 100755 --- a/t/t1502-rev-parse-parseopt.sh +++ b/t/t1502-rev-parse-parseopt.sh @@ -5,7 +5,7 @@ test_description='test git rev-parse --parseopt' cat > expect.err <<EOF usage: some-command [options] <args>... - + some-command does foo and bar! -h, --help show the help |