Skip to content

Commit c49904e

Browse files
felipecgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 433f2be commit c49904e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin-remote.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,7 @@ static int set_url(int argc, const char **argv)
12861286
"delete URLs"),
12871287
OPT_END()
12881288
};
1289-
argc = parse_options(argc, argv, NULL, options, builtin_remote_update_usage,
1289+
argc = parse_options(argc, argv, NULL, options, builtin_remote_seturl_usage,
12901290
PARSE_OPT_KEEP_ARGV0);
12911291

12921292
if (add_mode && delete_mode)

0 commit comments

Comments
 (0)