aboutsummaryrefslogtreecommitdiff
path: root/builtin-mailsplit.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2009-11-09 09:04:52 -0600
committerJunio C Hamano <gitster@pobox.com>2009-11-10 11:06:57 -0800
commitaa481d38b059a093829bbe0745e29244a896c499 (patch)
tree1bfbe64670dfe92c33f1837889177974572e82b8 /builtin-mailsplit.c
parent9a2861e32a147d89f22961bd7d3257b8776de4d2 (diff)
downloadgit-aa481d38b059a093829bbe0745e29244a896c499.tar.gz
git-aa481d38b059a093829bbe0745e29244a896c499.tar.xz
Show usage string for 'git mailsplit -h'
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-mailsplit.c')
-rw-r--r--builtin-mailsplit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin-mailsplit.c b/builtin-mailsplit.c
index dfe5b151e..207e358ed 100644
--- a/builtin-mailsplit.c
+++ b/builtin-mailsplit.c
@@ -231,6 +231,8 @@ int cmd_mailsplit(int argc, const char **argv, const char *prefix)
continue;
} else if ( arg[1] == 'f' ) {
nr = strtol(arg+2, NULL, 10);
+ } else if ( arg[1] == 'h' ) {
+ usage(git_mailsplit_usage);
} else if ( arg[1] == 'b' && !arg[2] ) {
allow_bare = 1;
} else if (!strcmp(arg, "--keep-cr")) {