diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2009-11-09 18:04:52 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-11-10 22:06:57 +0300 |
commit | aa481d38b059a093829bbe0745e29244a896c499 (patch) | |
tree | 1bfbe64670dfe92c33f1837889177974572e82b8 /builtin-mailsplit.c | |
parent | 9a2861e32a147d89f22961bd7d3257b8776de4d2 (diff) |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin-mailsplit.c b/builtin-mailsplit.c index dfe5b151e6..207e358ed1 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")) { |