Code

help: Add a missing OPT_END().
authorChristian Couder <chriscool@tuxfamily.org>
Wed, 2 Apr 2008 03:47:41 +0000 (05:47 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Apr 2008 06:40:06 +0000 (23:40 -0700)
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
help.c

diff --git a/help.c b/help.c
index ecaca770d398e8068ec18e9f4c5058044001d4ea..10298fb0a197f18008783214de11e424fbadb77d 100644 (file)
--- a/help.c
+++ b/help.c
@@ -30,6 +30,7 @@ static struct option builtin_help_options[] = {
                        HELP_FORMAT_WEB),
        OPT_SET_INT('i', "info", &help_format, "show info page",
                        HELP_FORMAT_INFO),
+       OPT_END(),
 };
 
 static const char * const builtin_help_usage[] = {