git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Alexander Shopov <ash@kambanaria.org>
Date
Feb 16, 2024, 10:15 UTC
Message-ID
<20240216101647.28837-4-ash@kambanaria.org>
In-Reply-To
<20240216101647.28837-1-ash@kambanaria.org>
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(-)
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
Previous: Alexander ShopovNext: Alexander Shopov
Message 5 of 9 in “[Improvements on messages 0/5] Disambuiguate between options and commands”
  1. Alexander ShopovFeb 16, 2024
  2. 1/5 rebase: trivial fix of error messageAlexander Shopov, Feb 16, 2024
  3. Alex HenrieFeb 16, 2024
  4. 2/5 transport-helper.c: trivial fix of error messageAlexander Shopov, Feb 16, 2024
  5. 3/5 builtin/remote.c: trivial fix of error messageAlexander Shopov, Feb 16, 2024
  6. 4/5 builtin/clone.c: trivial fix of messageAlexander Shopov, Feb 16, 2024
  7. 5/5 revision.c: trivial fix to messageAlexander Shopov, Feb 16, 2024
  8. Junio C HamanoFeb 16, 2024
  9. Junio C HamanoMar 5, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.