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 597bbfe..c810643 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;