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

[PATCH v2] Update 'git remote update' usage string to match man page.

From
Tim Henigan <tim.henigan@gmail.com>
Date
Nov 15, 2009, 19:46 UTC
Message-ID
<32c343770911151146m82ac4a3p12ecc988da88ab6b@mail.gmail.com>

Commit b344e161 taught 'git remote update' to understand [group | remote] as its argument. The man page was updated to document this change, but the usage string was not.

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
---

This updates the patch found at: http://article.gmane.org/gmane.comp.version-control.git/132953

The change to the man page synopsis has been dropped. This patch now only updates the usage string in builtin-remote.c.

The author of commit b344e161 has been added to the CC list.

Based on advice from Junio, further changes to the usage string and man pages will be explored in a separate patch series.

 builtin-remote.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builtin-remote.c b/builtin-remote.c
index 0777dd7..c4edb86 100644
--- a/builtin-remote.c
+++ b/builtin-remote.c
@@ -15,7 +15,7 @@ static const char * const builtin_remote_usage[] = {
 	"git remote set-head <name> [-a | -d | <branch>]",
 	"git remote show [-n] <name>",
 	"git remote prune [-n | --dry-run] <name>",
-	"git remote [-v | --verbose] update [-p | --prune] [group]",
+	"git remote [-v | --verbose] update [-p | --prune] [group | remote]",
 	NULL
 };
-- 
1.6.5.2.185.gb7fba.dirty
Next: Junio C Hamano
Message 1 of 2 in “Update 'git remote update' usage string to match man page.”
  1. Update 'git remote update' usage string to match man page.Tim Henigan, Nov 15, 2009
  2. Junio C HamanoNov 15, 2009

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.