Thread (7 messages) 7 messages, 2 authors, 2024-02-16

[Improvements on messages 3/5] builtin/remote.c: trivial fix of error message

From: Alexander Shopov <hidden>
Date: 2024-02-16 10:17:02
Subsystem: the rest · Maintainer: Linus Torvalds

Mark --mirror as option rather than command

Signed-off-by: Alexander Shopov <redacted>
---
 builtin/remote.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/remote.c b/builtin/remote.c
index d91bbe728d..8412d12fa5 100644
--- a/builtin/remote.c
+++ b/builtin/remote.c
@@ -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;
 }

--
2.43.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help