diff mbox series

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

Message ID 20240216101647.28837-4-ash@kambanaria.org (mailing list archive)
State Accepted
Commit fe7b5150cb20d883e8c9dd3ad5f1b85321d066ad
Headers show
Series Disambuiguate between options and commands | expand

Commit Message

Alexander Shopov Feb. 16, 2024, 10:15 a.m. UTC
Mark --mirror as option rather than command

Signed-off-by: Alexander Shopov <ash@kambanaria.org>
---
 builtin/remote.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.43.2
diff mbox series

Patch

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;
 }