summaryrefslogtreecommitdiff
path: root/builtin-mailsplit.c
diff options
context:
space:
mode:
authorStephan Beyer <s-beyer@gmx.net>2008-07-12 15:47:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-07-13 23:08:27 (GMT)
commit356a32a23a2118e12a62fa42876a261feb554b1a (patch)
treef8eebdd147dbe4f8f8e1df7bcec46a841803f7e2 /builtin-mailsplit.c
parent447d0cca45920bbe409361bb532444f810c75546 (diff)
downloadgit-356a32a23a2118e12a62fa42876a261feb554b1a.zip
git-356a32a23a2118e12a62fa42876a261feb554b1a.tar.gz
git-356a32a23a2118e12a62fa42876a261feb554b1a.tar.bz2
git-am/git-mailsplit: correct synopsis for reading from stdin
Invoking git-am or git-mailsplit without mbox or Maildir results in reading an mbox from stdin. Mention this in the synopsis and usage strings. Signed-off-by: Stephan Beyer <s-beyer@gmx.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-mailsplit.c')
-rw-r--r--builtin-mailsplit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-mailsplit.c b/builtin-mailsplit.c
index ae2b4cb..e8cbe67 100644
--- a/builtin-mailsplit.c
+++ b/builtin-mailsplit.c
@@ -9,7 +9,7 @@
#include "path-list.h"
static const char git_mailsplit_usage[] =
-"git-mailsplit [-d<prec>] [-f<n>] [-b] -o<directory> <mbox>|<Maildir>...";
+"git-mailsplit [-d<prec>] [-f<n>] [-b] -o<directory> [<mbox>|<Maildir>...]";
static int is_from_line(const char *line, int len)
{