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 7335149..597bbfe 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)