show-branch: match documentation and usage
authorJunio C Hamano <junkio@cox.net>
Fri, 7 Jul 2006 02:21:47 +0000 (19:21 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 7 Jul 2006 02:29:00 +0000 (19:29 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-show-branch.txt
builtin-show-branch.c

index f115b45ef61567b18f6686d12dd168e68f83cb02..a2445a48fc98ddd4865bab8d3033880a854fca36 100644 (file)
@@ -52,6 +52,11 @@ OPTIONS
         appear in topological order (i.e., descendant commits
         are shown before their parents).
 
+--sparse::
+       By default, the output omits merges that are reachable
+       from only one tip being shown.  This option makes them
+       visible.
+
 --more=<n>::
        Usually the command stops output upon showing the commit
        that is the common ancestor of all the branches.  This
index 09d82278625584213f710a984652a7efc07339c5..260cb221b902aa05d389f79988434770ed8c9131 100644 (file)
@@ -6,7 +6,7 @@
 #include "builtin.h"
 
 static const char show_branch_usage[] =
-"git-show-branch [--dense] [--current] [--all] [--heads] [--tags] [--topo-order] [--more=count | --list | --independent | --merge-base ] [--topics] [<refs>...]";
+"git-show-branch [--sparse] [--current] [--all] [--heads] [--tags] [--topo-order] [--more=count | --list | --independent | --merge-base ] [--topics] [<refs>...]";
 
 static int default_num = 0;
 static int default_alloc = 0;