git-submodule: wrap branch option with "<>" in usage strings.
Use "-b <branch>" instead of "-b branch". This brings the usage strings in line with other options, e.g. "--reference <repository>". Signed-off-by: W. Trevor King <wking@tremily.us> Signed-off-by: Jeff King <peff@peff.net>
W. Trevor King committed
Oct 23, 2012 at 17:00 UTC
38ae92e4d027063b9b87e51a9bf12809d10066f6
2 files changed
+2
-2
Documentation/git-submodule.txt
+1
-1
@@ -9,7 +9,7 @@ git-submodule - Initialize, update or inspect submodules
9
SYNOPSIS
10
--------
11
[verse]
12
-'git submodule' [--quiet] add [-b branch] [-f|--force]
12
+'git submodule' [--quiet] add [-b <branch>] [-f|--force]
13
[--reference <repository>] [--] <repository> [<path>]
14
'git submodule' [--quiet] status [--cached] [--recursive] [--] [<path>...]
15
'git submodule' [--quiet] init [--] [<path>...]
git-submodule.sh
+1
-1
@@ -5,7 +5,7 @@
5
# Copyright (c) 2007 Lars Hjemli
6
7
dashless=$(basename "$0" | sed -e 's/-/ /')
8
-USAGE="[--quiet] add [-b branch] [-f|--force] [--reference <repository>] [--] <repository> [<path>]
8
+USAGE="[--quiet] add [-b <branch>] [-f|--force] [--reference <repository>] [--] <repository> [<path>]
9
or: $dashless [--quiet] status [--cached] [--recursive] [--] [<path>...]
10
or: $dashless [--quiet] init [--] [<path>...]
11
or: $dashless [--quiet] update [--init] [-N|--no-fetch] [-f|--force] [--rebase] [--reference <repository>] [--merge] [--recursive] [--] [<path>...]