Code

remote: fix remote set-url usage
[git.git] / builtin-remote.c
index 277765b864202b2b6f20069e0cb3f95eaef4fcaa..c696c2cb9e0ebe190a6f2c7fb4592f0be276efdd 100644 (file)
@@ -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)