summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamsay Allan Jones <ramsay@ramsay1.demon.co.uk>2006-08-03 15:38:39 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-08-04 04:38:24 (GMT)
commit15e593e4d37d1d350fef20ab666d58f6881c7f5f (patch)
treea3782b47f33463e1401ea92abb9f98fa33f55040
parent5a716826a6f7f209777f344143cdd9e4f2903097 (diff)
downloadgit-15e593e4d37d1d350fef20ab666d58f6881c7f5f.zip
git-15e593e4d37d1d350fef20ab666d58f6881c7f5f.tar.gz
git-15e593e4d37d1d350fef20ab666d58f6881c7f5f.tar.bz2
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>
-rw-r--r--blame.c2
-rw-r--r--builtin-diff.c2
-rw-r--r--builtin-push.c2
-rw-r--r--mktag.c2
-rw-r--r--mktree.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/blame.c b/blame.c
index 76712b5..7099b53 100644
--- a/blame.c
+++ b/blame.c
@@ -20,7 +20,7 @@
#define DEBUG 0
-static const char blame_usage[] = "[-c] [-l] [-t] [-S <revs-file>] [--] file [commit]\n"
+static const char blame_usage[] = "git-blame [-c] [-l] [-t] [-S <revs-file>] [--] file [commit]\n"
" -c, --compatibility Use the same output mode as git-annotate (Default: off)\n"
" -l, --long Show long commit SHA1 (Default: off)\n"
" -t, --time Show raw timestamp (Default: off)\n"
diff --git a/builtin-diff.c b/builtin-diff.c
index cb4216e..1075855 100644
--- a/builtin-diff.c
+++ b/builtin-diff.c
@@ -23,7 +23,7 @@ struct blobinfo {
};
static const char builtin_diff_usage[] =
-"diff <options> <rev>{0,2} -- <path>*";
+"git-diff <options> <rev>{0,2} -- <path>*";
static int builtin_diff_files(struct rev_info *revs,
int argc, const char **argv)
diff --git a/builtin-push.c b/builtin-push.c
index c39dd1e..53bc378 100644
--- a/builtin-push.c
+++ b/builtin-push.c
@@ -8,7 +8,7 @@
#define MAX_URI (16)
-static const char push_usage[] = "git push [--all] [--tags] [-f | --force] <repository> [<refspec>...]";
+static const char push_usage[] = "git-push [--all] [--tags] [-f | --force] <repository> [<refspec>...]";
static int all = 0, tags = 0, force = 0, thin = 1;
static const char *execute = NULL;
diff --git a/mktag.c b/mktag.c
index 09b6e43..be23e58 100644
--- a/mktag.c
+++ b/mktag.c
@@ -123,7 +123,7 @@ int main(int argc, char **argv)
unsigned char result_sha1[20];
if (argc != 1)
- usage("cat <signaturefile> | git-mktag");
+ usage("git-mktag < signaturefile");
setup_git_directory();
diff --git a/mktree.c b/mktree.c
index ab63cd9..9a6f0d2 100644
--- a/mktree.c
+++ b/mktree.c
@@ -71,7 +71,7 @@ static void write_tree(unsigned char *sha1)
write_sha1_file(buffer, offset, tree_type, sha1);
}
-static const char mktree_usage[] = "mktree [-z]";
+static const char mktree_usage[] = "git-mktree [-z]";
int main(int ac, char **av)
{