From 69e0c256415a98cd683d977386e624f034643829 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sun, 30 Oct 2005 01:03:45 -0800 Subject: Update usage string and documentation for git-rev-list. Signed-off-by: Junio C Hamano --- rev-list.c | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) (limited to 'rev-list.c') diff --git a/rev-list.c b/rev-list.c index 2b82b8a96c..6e6ffde396 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 \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] ... [ -- 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; -- cgit v1.2.1