git-apply: improve error detection and messages
[git.git] / ls-files.c
index 76782f6..3b93d5e 100644 (file)
@@ -179,7 +179,7 @@ static int cmp_name(const void *p1, const void *p2)
                                  e2->name, e2->len);
 }
 
-static void show_killed_files()
+static void show_killed_files(void)
 {
        int i;
        for (i = 0; i < nr_dir; i++) {
@@ -283,7 +283,7 @@ static void show_files(void)
 }
 
 static const char *ls_files_usage =
-       "ls-files [-z] [-t] (--[cached|deleted|others|stage|unmerged|killed])* "
+       "git-ls-files [-z] [-t] (--[cached|deleted|others|stage|unmerged|killed])* "
        "[ --ignored [--exclude=<pattern>] [--exclude-from=<file>) ]";
 
 int main(int argc, char **argv)