Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Show usage string for 'git mailsplit -h'
[gitweb.git]
/
builtin-log.c
diff --git
a/builtin-log.c
b/builtin-log.c
index 207a36178bafcbd755789fefb35b74054d1ff2fa..524850735acd8dcbdf5c5c95332a3c721d8c8483 100644
(file)
--- a/
builtin-log.c
+++ b/
builtin-log.c
@@
-1237,6
+1237,9
@@
int cmd_cherry(int argc, const char **argv, const char *prefix)
argv++;
}
+ if (argc > 1 && !strcmp(argv[1], "-h"))
+ usage(cherry_usage);
+
switch (argc) {
case 4:
limit = argv[3];