summaryrefslogtreecommitdiff
path: root/diff-tree.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-05-06 20:17:13 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-06 21:55:16 (GMT)
commit5aad72f2bc1527e1fcdf460f0a36b0bcc4117b4a (patch)
tree0d5bb5fb13ad5b8f778e32dd36fe3654747e8460 /diff-tree.c
parentd5776d50aa83ba90c639a6c1201af144f9ee992d (diff)
downloadgit-5aad72f2bc1527e1fcdf460f0a36b0bcc4117b4a.zip
git-5aad72f2bc1527e1fcdf460f0a36b0bcc4117b4a.tar.gz
git-5aad72f2bc1527e1fcdf460f0a36b0bcc4117b4a.tar.bz2
[PATCH] Document --stdin, -m, -s, and -v flags to git-diff-tree
This updates the usage message string and Documentation/core-git.txt to describe the new flags added to the git-diff-tree command. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'diff-tree.c')
-rw-r--r--diff-tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/diff-tree.c b/diff-tree.c
index b8abe20..cdd224c 100644
--- a/diff-tree.c
+++ b/diff-tree.c
@@ -363,7 +363,8 @@ static int diff_tree_stdin(char *line)
return -1;
}
-static char *diff_tree_usage = "diff-tree [-p] [-r] [-z] <tree sha1> <tree sha1>";
+static char *diff_tree_usage =
+"diff-tree [-p] [-r] [-z] [--stdin] [-m] [-s] [-v] <tree sha1> <tree sha1>";
int main(int argc, char **argv)
{