summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Harlan <pgit@pcharlan.com>2010-02-15 15:33:18 -0800
committerJunio C Hamano <gitster@pobox.com>2010-02-15 18:20:54 -0800
commit7283bbc70a55d7364fbeaefc1009c03fcfc8d929 (patch)
treef4bf0a6aa67026ded873b3c78766ee977ac73db3
parentef0065034a68edfc0ffed9965bb895073ad710db (diff)
downloadgit-7283bbc70a55d7364fbeaefc1009c03fcfc8d929.tar.gz
Remove hyphen from "git-command" in two error messages
Signed-off-by: Pete Harlan <pgit@pcharlan.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--git.c2
-rw-r--r--help.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/git.c b/git.c
index 11544cdb40..a83cab7002 100644
--- a/git.c
+++ b/git.c
@@ -516,7 +516,7 @@ int main(int argc, const char **argv)
break;
if (was_alias) {
fprintf(stderr, "Expansion of alias '%s' failed; "
- "'%s' is not a git-command\n",
+ "'%s' is not a git command\n",
cmd, argv[0]);
exit(1);
}
diff --git a/help.c b/help.c
index 9da97d7462..7f4928e459 100644
--- a/help.c
+++ b/help.c
@@ -350,7 +350,7 @@ const char *help_unknown_cmd(const char *cmd)
return assumed;
}
- fprintf(stderr, "git: '%s' is not a git-command. See 'git --help'.\n", cmd);
+ fprintf(stderr, "git: '%s' is not a git command. See 'git --help'.\n", cmd);
if (SIMILAR_ENOUGH(best_similarity)) {
fprintf(stderr, "\nDid you mean %s?\n",