summaryrefslogtreecommitdiff
path: root/rev-list.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-10-30 09:03:45 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-10-31 01:28:02 (GMT)
commit69e0c256415a98cd683d977386e624f034643829 (patch)
treefff61220b32a9e1befdf164c850e2a58db24e1c1 /rev-list.c
parent918db541e0e833b695ee45ee6cf563d018096860 (diff)
downloadgit-69e0c256415a98cd683d977386e624f034643829.zip
git-69e0c256415a98cd683d977386e624f034643829.tar.gz
git-69e0c256415a98cd683d977386e624f034643829.tar.bz2
Update usage string and documentation for git-rev-list.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'rev-list.c')
-rw-r--r--rev-list.c32
1 files changed, 19 insertions, 13 deletions
diff --git a/rev-list.c b/rev-list.c
index 2b82b8a..6e6ffde 100644
--- a/rev-list.c
+++ b/rev-list.c
@@ -14,19 +14,25 @@
#define TREECHANGE (1u << 4)
static const char rev_list_usage[] =
- "git-rev-list [OPTION] commit-id <commit-id>\n"
- " --max-count=nr\n"
- " --max-age=epoch\n"
- " --min-age=epoch\n"
- " --parents\n"
- " --bisect\n"
- " --objects\n"
- " --unpacked\n"
- " --header\n"
- " --pretty\n"
- " --no-merges\n"
- " --merge-order [ --show-breaks ]\n"
- " --topo-order";
+"git-rev-list [OPTION] <commit-id>... [ -- paths... ]\n"
+" limiting output:\n"
+" --max-count=nr\n"
+" --max-age=epoch\n"
+" --min-age=epoch\n"
+" --sparse\n"
+" --no-merges\n"
+" --all\n"
+" ordering output:\n"
+" --merge-order [ --show-breaks ]\n"
+" --topo-order\n"
+" formatting output:\n"
+" --parents\n"
+" --objects\n"
+" --unpacked\n"
+" --header | --pretty\n"
+" special purpose:\n"
+" --bisect"
+;
static int dense = 1;
static int unpacked = 0;