summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5a71682)
raw | patch | inline | side by side (parent: 5a71682)
author | Ramsay Allan Jones <ramsay@ramsay1.demon.co.uk> | |
Thu, 3 Aug 2006 15:38:39 +0000 (16:38 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 4 Aug 2006 04:38:24 +0000 (21:38 -0700) |
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>
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>
blame.c | patch | blob | history | |
builtin-diff.c | patch | blob | history | |
builtin-push.c | patch | blob | history | |
mktag.c | patch | blob | history | |
mktree.c | patch | blob | history |
index 76712b5962bcb0f511cc4a18766d1a45dc901675..7099b53c72dd3d4f586b6ae4ba7583738225523c 100644 (file)
--- a/blame.c
+++ b/blame.c
#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 cb4216eb8a81ac5263337018272043d673d59977..1075855102fdb9d49f923edc4b62ddb75aa8027c 100644 (file)
--- a/builtin-diff.c
+++ b/builtin-diff.c
};
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 c39dd1e092def752d6935752362421abf35bfef1..53bc378f73e752a58542a1fb8b9ddedcf9301acf 100644 (file)
--- a/builtin-push.c
+++ b/builtin-push.c
#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;
index 09b6e437d46a71b0123b5cb791cc537cf946e7a1..be23e589fbf504cb165abc3b97bdf5adb7317f68 100644 (file)
--- a/mktag.c
+++ b/mktag.c
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 ab63cd99d4ae41310b97811cf738803afe16ff1f..9a6f0d2f6b0be1307985b4bd56d0bc84abd1df02 100644 (file)
--- a/mktree.c
+++ b/mktree.c
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)
{