Re: [PATCH] git-submodule: wrap branch option with "<>" in usage strings.

2012-10-24 Thread Jeff King
On Tue, Oct 23, 2012 at 05:00:21PM -0400, W. Trevor King wrote:

> From: "W. Trevor King" 
> 
> Use "-b " instead of "-b branch".  This brings the usage
> strings in line with other options, e.g. "--reference ".
> 
> Signed-off-by: W. Trevor King 

Thanks. Looks obviously correct to me.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] git-submodule: wrap branch option with "<>" in usage strings.

2012-10-23 Thread W. Trevor King
From: "W. Trevor King" 

Use "-b " instead of "-b branch".  This brings the usage
strings in line with other options, e.g. "--reference ".

Signed-off-by: W. Trevor King 
---
 Documentation/git-submodule.txt | 2 +-
 git-submodule.sh| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt
index b4683bb..a65f38e 100644
--- a/Documentation/git-submodule.txt
+++ b/Documentation/git-submodule.txt
@@ -9,7 +9,7 @@ git-submodule - Initialize, update or inspect submodules
 SYNOPSIS
 
 [verse]
-'git submodule' [--quiet] add [-b branch] [-f|--force]
+'git submodule' [--quiet] add [-b ] [-f|--force]
  [--reference ] [--]  []
 'git submodule' [--quiet] status [--cached] [--recursive] [--] [...]
 'git submodule' [--quiet] init [--] [...]
diff --git a/git-submodule.sh b/git-submodule.sh
index ab6b110..02f82e9 100755
--- a/git-submodule.sh
+++ b/git-submodule.sh
@@ -5,7 +5,7 @@
 # Copyright (c) 2007 Lars Hjemli
 
 dashless=$(basename "$0" | sed -e 's/-/ /')
-USAGE="[--quiet] add [-b branch] [-f|--force] [--reference ] [--] 
 []
+USAGE="[--quiet] add [-b ] [-f|--force] [--reference ] 
[--]  []
or: $dashless [--quiet] status [--cached] [--recursive] [--] [...]
or: $dashless [--quiet] init [--] [...]
or: $dashless [--quiet] update [--init] [-N|--no-fetch] [-f|--force] 
[--rebase] [--reference ] [--merge] [--recursive] [--] [...]
-- 
1.8.0.2.g09b91ca

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html