]> git.ipfire.org Git - thirdparty/git.git/commitdiff
builtin/remote.c: trivial fix of error message
authorAlexander Shopov <ash@kambanaria.org>
Fri, 16 Feb 2024 10:15:35 +0000 (11:15 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Mar 2024 22:11:56 +0000 (14:11 -0800)
Mark --mirror as option rather than command

Signed-off-by: Alexander Shopov <ash@kambanaria.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/remote.c

index d91bbe728d739e074e5f4fa54f70c186f371c1b7..8412d12fa55100132c69ae24914b2db536bf77c9 100644 (file)
@@ -150,7 +150,7 @@ static int parse_mirror_opt(const struct option *opt, const char *arg, int not)
        else if (!strcmp(arg, "push"))
                *mirror = MIRROR_PUSH;
        else
-               return error(_("unknown mirror argument: %s"), arg);
+               return error(_("unknown --mirror argument: %s"), arg);
        return 0;
 }