From: Felipe Contreras Date: Mon, 7 Nov 2011 03:36:57 +0000 (+0200) Subject: remote: fix remote set-url usage X-Git-Tag: v1.7.8-rc2~5^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c49904efb55172e8da0abdc8ba3222ce7507e936;p=git.git 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 --- 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)