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>
This commit is contained in:

committed by
Junio C Hamano

parent
ef0065034a
commit
7283bbc70a
2
git.c
2
git.c
@ -516,7 +516,7 @@ int main(int argc, const char **argv)
|
|||||||
break;
|
break;
|
||||||
if (was_alias) {
|
if (was_alias) {
|
||||||
fprintf(stderr, "Expansion of alias '%s' failed; "
|
fprintf(stderr, "Expansion of alias '%s' failed; "
|
||||||
"'%s' is not a git-command\n",
|
"'%s' is not a git command\n",
|
||||||
cmd, argv[0]);
|
cmd, argv[0]);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
2
help.c
2
help.c
@ -350,7 +350,7 @@ const char *help_unknown_cmd(const char *cmd)
|
|||||||
return assumed;
|
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)) {
|
if (SIMILAR_ENOUGH(best_similarity)) {
|
||||||
fprintf(stderr, "\nDid you mean %s?\n",
|
fprintf(stderr, "\nDid you mean %s?\n",
|
||||||
|
Reference in New Issue
Block a user