X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin%2Fremote.c;h=c810643815e38f4ada805e2af49973e4e0051801;hb=35a71f1402b40b580d985a9d7e5fb1c9ec4d0232;hp=733514979969f69ad45448a67d981b621bbee146;hpb=82bc9f515c93cdb66f87092c7e270b8de112919f;p=git.git diff --git a/builtin/remote.c b/builtin/remote.c index 733514979..c81064381 100644 --- a/builtin/remote.c +++ b/builtin/remote.c @@ -1399,7 +1399,7 @@ static int set_branches(int argc, const char **argv) builtin_remote_setbranches_usage, 0); if (argc == 0) { error("no remote specified"); - usage_with_options(builtin_remote_seturl_usage, options); + usage_with_options(builtin_remote_setbranches_usage, options); } argv[argc] = NULL; @@ -1427,7 +1427,7 @@ static int set_url(int argc, const char **argv) "delete URLs"), OPT_END() }; - argc = parse_options(argc, argv, NULL, options, builtin_remote_update_usage, + argc = parse_options(argc, argv, NULL, options, builtin_remote_seturl_usage, PARSE_OPT_KEEP_ARGV0); if (add_mode && delete_mode)