@matheusbsbs / matheus-bagliano / commits / 15e593e4d3
Fork 0

Fixup command names in some usage strings.

Most usage strings, such as for command xxx, start with "git-xxx". This updates the rebels to conform to the general pattern. (The git wrapper is an exception to this, of course ...) Signed-off-by: Ramsay Allan Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Junio C Hamano <junkio@cox.net>

Ramsay Allan Jones committed Aug 3, 2006 at 16:38 UTC 15e593e4d37d1d350fef20ab666d58f6881c7f5f
5 files changed +5 -5
blame.c
+1 -1
@@ -20,7 +20,7 @@
20
21 #define DEBUG 0
22
23 -static const char blame_usage[] = "[-c] [-l] [-t] [-S <revs-file>] [--] file [commit]\n"
23 +static const char blame_usage[] = "git-blame [-c] [-l] [-t] [-S <revs-file>] [--] file [commit]\n"
24 " -c, --compatibility Use the same output mode as git-annotate (Default: off)\n"
25 " -l, --long Show long commit SHA1 (Default: off)\n"
26 " -t, --time Show raw timestamp (Default: off)\n"
builtin-diff.c
+1 -1
@@ -23,7 +23,7 @@ struct blobinfo {
23 };
24
25 static const char builtin_diff_usage[] =
26 -"diff <options> <rev>{0,2} -- <path>*";
26 +"git-diff <options> <rev>{0,2} -- <path>*";
27
28 static int builtin_diff_files(struct rev_info *revs,
29 int argc, const char **argv)
builtin-push.c
+1 -1
@@ -8,7 +8,7 @@
8
9 #define MAX_URI (16)
10
11 -static const char push_usage[] = "git push [--all] [--tags] [-f | --force] <repository> [<refspec>...]";
11 +static const char push_usage[] = "git-push [--all] [--tags] [-f | --force] <repository> [<refspec>...]";
12
13 static int all = 0, tags = 0, force = 0, thin = 1;
14 static const char *execute = NULL;
mktag.c
+1 -1
@@ -123,7 +123,7 @@ int main(int argc, char **argv)
123 unsigned char result_sha1[20];
124
125 if (argc != 1)
126 - usage("cat <signaturefile> | git-mktag");
126 + usage("git-mktag < signaturefile");
127
128 setup_git_directory();
129
mktree.c
+1 -1
@@ -71,7 +71,7 @@ static void write_tree(unsigned char *sha1)
71 write_sha1_file(buffer, offset, tree_type, sha1);
72 }
73
74 -static const char mktree_usage[] = "mktree [-z]";
74 +static const char mktree_usage[] = "git-mktree [-z]";
75
76 int main(int ac, char **av)
77 {