threads / patch / 21630

v2Update 'git remote update' usage string to match man page.

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

## tl;dr

2 messages between Nov 15, 2009 and Nov 15, 2009. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Tim Henigan· Nov 15, 2009, 19:46 UTC · lore

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(-)
Show changes to builtin-remote.c +1 −1
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

← back to recent threads