Skip to content

Commit

Permalink
remote: fix remote set-url usage
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Felipe Contreras authored and Junio C Hamano committed Nov 7, 2011
1 parent 433f2be commit c49904e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin-remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c49904e

Please sign in to comment.