diff options
author | Nicolas Pitre <nico@cam.org> | 2005-04-30 13:59:38 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-30 13:59:38 -0700 |
commit | 17710391299af14fc38cdee10cc7cc9d44668329 (patch) | |
tree | c5f414e956ce428a6ced97f3cc3ca3a2a5c6f05d /ls-files.c | |
parent | 89967023da94c0d874713284869e1924797d30bb (diff) | |
download | git-17710391299af14fc38cdee10cc7cc9d44668329.tar.gz git-17710391299af14fc38cdee10cc7cc9d44668329.tar.xz |
[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 'ls-files.c')
-rw-r--r-- | ls-files.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ls-files.c b/ls-files.c index c63c7aa4b..8b53f2fd5 100644 --- a/ls-files.c +++ b/ls-files.c @@ -206,8 +206,8 @@ static void show_files(void) } } -static const char *show_files_usage = - "show-files [-z] (--[cached|deleted|others|stage|unmerged])* " +static const char *ls_files_usage = + "ls-files [-z] (--[cached|deleted|others|stage|unmerged])* " "[ --ignored [--exclude=<pattern>] [--exclude-from=<file>) ]"; int main(int argc, char **argv) @@ -242,7 +242,7 @@ int main(int argc, char **argv) } else if (!strncmp(arg, "--exclude-from=", 15)) { add_excludes_from_file(arg+15); } else - usage(show_files_usage); + usage(ls_files_usage); } if (show_ignored && !nr_excludes) { |