summaryrefslogtreecommitdiff
path: root/t/t1502-rev-parse-parseopt.sh
diff options
context:
space:
mode:
authorMichele Ballabio <barra_cuda@katamail.com>2008-06-22 14:39:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-06-23 01:14:37 (GMT)
commit6422f633216475939f9a6f317e41a164737cbb02 (patch)
treefdea6594e42337e468184d9caa900e76b0f114b0 /t/t1502-rev-parse-parseopt.sh
parent82936f295f803a8f1fbe2d89856e9371baa3536c (diff)
downloadgit-6422f633216475939f9a6f317e41a164737cbb02.zip
git-6422f633216475939f9a6f317e41a164737cbb02.tar.gz
git-6422f633216475939f9a6f317e41a164737cbb02.tar.bz2
parse-options.c: fix documentation syntax of optional arguments
When an argument for an option is optional, short options don't need a space between the option and the argument, and long options need a "=". Otherwise, arguments are misinterpreted. Signed-off-by: Michele Ballabio <barra_cuda@katamail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1502-rev-parse-parseopt.sh')
-rwxr-xr-xt/t1502-rev-parse-parseopt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1502-rev-parse-parseopt.sh b/t/t1502-rev-parse-parseopt.sh
index d24a47d..3508d0a 100755
--- a/t/t1502-rev-parse-parseopt.sh
+++ b/t/t1502-rev-parse-parseopt.sh
@@ -13,7 +13,7 @@ usage: some-command [options] <args>...
--bar ... some cool option --bar with an argument
An option group Header
- -C [...] option C with an optional argument
+ -C[...] option C with an optional argument
Extras
--extra1 line above used to cause a segfault but no longer does