Skip to content

Commit 7283bbc

Browse files
Pete Harlangitster
authored andcommitted
Remove hyphen from "git-command" in two error messages
Signed-off-by: Pete Harlan <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ef00650 commit 7283bbc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

git.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ int main(int argc, const char **argv)
516516
break;
517517
if (was_alias) {
518518
fprintf(stderr, "Expansion of alias '%s' failed; "
519-
"'%s' is not a git-command\n",
519+
"'%s' is not a git command\n",
520520
cmd, argv[0]);
521521
exit(1);
522522
}

help.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ const char *help_unknown_cmd(const char *cmd)
350350
return assumed;
351351
}
352352

353-
fprintf(stderr, "git: '%s' is not a git-command. See 'git --help'.\n", cmd);
353+
fprintf(stderr, "git: '%s' is not a git command. See 'git --help'.\n", cmd);
354354

355355
if (SIMILAR_ENOUGH(best_similarity)) {
356356
fprintf(stderr, "\nDid you mean %s?\n",

0 commit comments

Comments
 (0)