Merge branch 'jc/remote-setbranches-usage-fix'

* jc/remote-setbranches-usage-fix:
  remote: fix set-branches usage
This commit is contained in:
Junio C Hamano 2011-11-08 16:40:31 -08:00
commit d7a0129b3c

View 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;