summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2011-11-07 05:36:57 +0200
committerJunio C Hamano <gitster@pobox.com>2011-11-06 21:16:34 -0800
commitc49904efb55172e8da0abdc8ba3222ce7507e936 (patch)
tree18a5c4addd0041c1407e9dba21d9e3267d9d6396
parent433f2be139710e2fc7c0693a8411b2773f1a4b38 (diff)
downloadgit-fc/remote-seturl-usage-fix.tar.gz
remote: fix remote set-url usagefc/remote-seturl-usage-fix
Bad copy-paste. Otherwise the help text for "git remote set-url --help" would show help for "git remote update" subcommand. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--builtin-remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-remote.c b/builtin-remote.c
index 277765b864..c696c2cb9e 100644
--- a/builtin-remote.c
+++ b/builtin-remote.c
@@ -1286,7 +1286,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)