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 <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
433f2be139
commit
c49904efb5
@ -1286,7 +1286,7 @@ static int set_url(int argc, const char **argv)
|
|||||||
"delete URLs"),
|
"delete URLs"),
|
||||||
OPT_END()
|
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);
|
PARSE_OPT_KEEP_ARGV0);
|
||||||
|
|
||||||
if (add_mode && delete_mode)
|
if (add_mode && delete_mode)
|
||||||
|
Reference in New Issue
Block a user