summaryrefslogtreecommitdiff
path: root/diff-cache.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-07-13 19:52:35 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-13 20:09:17 (GMT)
commitdda2d79af2d2858b37bab7f6e088d0730c0959d1 (patch)
tree0252e50a800caa678f835ee26193e5f728459f0a /diff-cache.c
parent52f28529f4f90cebdca47f8eacbff5cb20004bed (diff)
downloadgit-dda2d79af2d2858b37bab7f6e088d0730c0959d1.zip
git-dda2d79af2d2858b37bab7f6e088d0730c0959d1.tar.gz
git-dda2d79af2d2858b37bab7f6e088d0730c0959d1.tar.bz2
[PATCH] Clean up diff option descriptions.
I got tired of maintaining almost duplicated descriptions in diff-* brothers, both in usage string and documentation. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'diff-cache.c')
-rw-r--r--diff-cache.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/diff-cache.c b/diff-cache.c
index e1ac57d..c435844 100644
--- a/diff-cache.c
+++ b/diff-cache.c
@@ -159,7 +159,9 @@ static void mark_merge_entries(void)
}
static char *diff_cache_usage =
-"git-diff-cache [-p] [-r] [-z] [-m] [--cached] [-R] [-B] [-M] [-C] [--find-copies-harder] [-O<orderfile>] [-S<string>] [--pickaxe-all] <tree-ish> [<path>...]";
+"git-diff-cache [-m] [--cached] "
+"[<common diff options>] <tree-ish> [<path>...]"
+COMMON_DIFF_OPTIONS_HELP;
int main(int argc, const char **argv)
{