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

2 messages from 2009-11-15 to 2009-11-15. Participants: Tim Henigan, Junio C Hamano.
Thread: https://gitlist.dev/t/21630

## Tim Henigan, 2009-11-15 19:46

Subject: [PATCH v2] Update 'git remote update' usage string to match man page.
Message-ID: <32c343770911151146m82ac4a3p12ecc988da88ab6b@mail.gmail.com>
URL: https://gitlist.dev/e/32c343770911151146m82ac4a3p12ecc988da88ab6b%40mail.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

```

## Junio C Hamano, 2009-11-15 21:04

Subject: Re: [PATCH v2] Update 'git remote update' usage string to match man page.
Message-ID: <7vlji7fqk9.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vlji7fqk9.fsf%40alter.siamese.dyndns.org
In-Reply-To: <32c343770911151146m82ac4a3p12ecc988da88ab6b@mail.gmail.com>

```
Thanks, will queue.

```
