remote: fix set-branches usage
Bad copy-paste. Otherwise "git remote set-branches" without necessary argument will result in an error message and help for set-url subcommand. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Nov 6, 2011 at 21:12 UTC
656cdf0c9ebe2899ef79020285c9a6243dc84d97
1 file changed
+1
-1
builtin/remote.c
+1
-1
@@ -1336,7 +1336,7 @@ static int set_branches(int argc, const char **argv)
1336
builtin_remote_setbranches_usage, 0);
1337
if (argc == 0) {
1338
error("no remote specified");
1339
- usage_with_options(builtin_remote_seturl_usage, options);
1339
+ usage_with_options(builtin_remote_setbranches_usage, options);
1340
}
1341
argv[argc] = NULL;
1342