X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=help.c;h=294337e71c0c8f1c3e150dd0b566c04db96c013d;hb=df01e7c5ee732cd6673de18743b42bf5234a5c76;hp=6c46d8b4949c4ad70ca6abc7edb4f7926c889a5a;hpb=7ecc9b153c89aeec7470256f7b121fd845101b57;p=~andy%2Fgit diff --git a/help.c b/help.c index 6c46d8b49..294337e71 100644 --- a/help.c +++ b/help.c @@ -302,7 +302,7 @@ const char *help_unknown_cmd(const char *cmd) struct cmdnames main_cmds, other_cmds; memset(&main_cmds, 0, sizeof(main_cmds)); - memset(&other_cmds, 0, sizeof(main_cmds)); + memset(&other_cmds, 0, sizeof(other_cmds)); memset(&aliases, 0, sizeof(aliases)); git_config(git_unknown_cmd_config, NULL); @@ -334,7 +334,7 @@ const char *help_unknown_cmd(const char *cmd) const char *assumed = main_cmds.names[0]->name; main_cmds.names[0] = NULL; clean_cmdnames(&main_cmds); - fprintf(stderr, "WARNING: You called a Git program named '%s', " + fprintf(stderr, "WARNING: You called a Git command named '%s', " "which does not exist.\n" "Continuing under the assumption that you meant '%s'\n", cmd, assumed);