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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tim Henigan
Date: Sunday, November 15, 2009 - 12:46 pm

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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v2] Update 'git remote update' usage string to matc ..., Tim Henigan, (Sun Nov 15, 12:46 pm)