summaryrefslogtreecommitdiff
path: root/builtin-log.c
diff options
context:
space:
mode:
authorMarkus Heidelberg <markus.heidelberg@web.de>2009-01-01 21:56:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-01-05 19:43:28 (GMT)
commit3bc52d7a95676bcdeeb61c372b44358daf817baa (patch)
tree856e8ab3b96d5517353dcffbc912f8ae38793d39 /builtin-log.c
parentf29680221124d05581dd2db52a4e7f0fa15fa929 (diff)
downloadgit-3bc52d7a95676bcdeeb61c372b44358daf817baa.zip
git-3bc52d7a95676bcdeeb61c372b44358daf817baa.tar.gz
git-3bc52d7a95676bcdeeb61c372b44358daf817baa.tar.bz2
Documentation: clarify which parameters are optional to git-cherry
An earlier parameter is only optional when all of the later parameters are omitted. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-log.c')
-rw-r--r--builtin-log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-log.c b/builtin-log.c
index 243f857..7e9616e 100644
--- a/builtin-log.c
+++ b/builtin-log.c
@@ -1071,7 +1071,7 @@ static int add_pending_commit(const char *arg, struct rev_info *revs, int flags)
}
static const char cherry_usage[] =
-"git cherry [-v] [<upstream>] [<head>] [<limit>]";
+"git cherry [-v] [<upstream> [<head> [<limit>]]]";
int cmd_cherry(int argc, const char **argv, const char *prefix)
{
struct rev_info revs;