author | Michele Ballabio <barra_cuda@katamail.com> | |
Sun, 22 Jun 2008 14:39:04 +0000 (16:39 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 23 Jun 2008 01:14:37 +0000 (18:14 -0700) | ||
commit | 6422f633216475939f9a6f317e41a164737cbb02 | |
tree | fdea6594e42337e468184d9caa900e76b0f114b0 | tree | snapshot |
parent | 82936f295f803a8f1fbe2d89856e9371baa3536c | commit | diff |
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>
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 | diff | blob | history | |
t/t1502-rev-parse-parseopt.sh | diff | blob | history |