Code

Merge branch 'fc/remote-seturl-usage-fix'
authorJunio C Hamano <gitster@pobox.com>
Wed, 9 Nov 2011 00:40:27 +0000 (16:40 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Nov 2011 00:40:27 +0000 (16:40 -0800)
* fc/remote-seturl-usage-fix:
  remote: fix remote set-url usage

builtin/remote.c

index 733514979969f69ad45448a67d981b621bbee146..597bbfe5ead718a01b80d08a804fd8a6fc23e929 100644 (file)
@@ -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)