summaryrefslogtreecommitdiff
path: root/diff-files.c
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2005-04-30 13:59:38 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-30 13:59:38 -0700
commit17710391299af14fc38cdee10cc7cc9d44668329 (patch)
treec5f414e956ce428a6ced97f3cc3ca3a2a5c6f05d /diff-files.c
parent89967023da94c0d874713284869e1924797d30bb (diff)
downloadgit-17710391299af14fc38cdee10cc7cc9d44668329.tar.gz
[PATCH] fix usage string for renamed git commands
Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'diff-files.c')
-rw-r--r--diff-files.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/diff-files.c b/diff-files.c
index fdd7dd4b0c..0cf2c24410 100644
--- a/diff-files.c
+++ b/diff-files.c
@@ -6,8 +6,8 @@
#include "cache.h"
#include "diff.h"
-static const char *show_diff_usage =
-"show-diff [-p] [-q] [-r] [-z] [paths...]";
+static const char *diff_files_usage =
+"diff-files [-p] [-q] [-r] [-z] [paths...]";
static int generate_patch = 0;
static int line_termination = '\n';
@@ -80,7 +80,7 @@ int main(int argc, char **argv)
else if (!strcmp(argv[1], "-z"))
line_termination = 0;
else
- usage(show_diff_usage);
+ usage(diff_files_usage);
argv++; argc--;
}