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

builtin/remote.c

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