parse-options.c: fix documentation syntax of optional arguments
commit6422f633216475939f9a6f317e41a164737cbb02
authorMichele Ballabio <barra_cuda@katamail.com>
Sun, 22 Jun 2008 14:39:04 +0000 (22 16:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Jun 2008 01:14:37 +0000 (22 18:14 -0700)
treefdea6594e42337e468184d9caa900e76b0f114b0
parent82936f295f803a8f1fbe2d89856e9371baa3536c
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>
parse-options.c
t/t1502-rev-parse-parseopt.sh