describe: omit clearing marks on the last one.
[gitweb.git] / git.c
diff --git a/git.c b/git.c
index e795ddb8106138920ad02793c4f4b787e05fb4f4..5e7da74b6800a4256f9bcb0d0add7560213271e1 100644 (file)
--- a/git.c
+++ b/git.c
@@ -244,6 +244,11 @@ int main(int argc, char **argv, char **envp)
        for (i = 1; i < argc; i++) {
                char *arg = argv[i];
 
+               if (!strcmp(arg, "help")) {
+                       show_help = 1;
+                       continue;
+               }
+
                if (strncmp(arg, "--", 2))
                        break;