From c49904efb55172e8da0abdc8ba3222ce7507e936 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Mon, 7 Nov 2011 05:36:57 +0200 Subject: [PATCH] remote: fix remote set-url usage 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 Signed-off-by: Junio C Hamano --- builtin-remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin-remote.c b/builtin-remote.c index 277765b86..c696c2cb9 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) -- 2.30.2