Merge branch 'wtk/submodule-doc-fixup'
authorJunio C Hamano <gitster@pobox.com>
Wed, 21 Nov 2012 21:25:42 +0000 (13:25 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Nov 2012 21:25:42 +0000 (13:25 -0800)
* wtk/submodule-doc-fixup:
git-submodule: wrap branch option with "<>" in usage strings.

Documentation/git-submodule.txt
git-submodule.sh
index 1d6527ab9f46fb0eb5d52ef335c1c4b4c377a72b..b1de3bade751f34b9629e3d4c0d8f654fca86a91 100644 (file)
@@ -9,7 +9,7 @@ git-submodule - Initialize, update or inspect submodules
 SYNOPSIS
 --------
 [verse]
-'git submodule' [--quiet] add [-b branch] [-f|--force] [--name <name>]
+'git submodule' [--quiet] add [-b <branch>] [-f|--force] [--name <name>]
              [--reference <repository>] [--] <repository> [<path>]
 'git submodule' [--quiet] status [--cached] [--recursive] [--] [<path>...]
 'git submodule' [--quiet] init [--] [<path>...]
index 0522c3871a55d50cdada04c92db8d4bd87120df7..2365149d0b920ece4d076dafbebf23fef6888df1 100755 (executable)
@@ -5,7 +5,7 @@
 # Copyright (c) 2007 Lars Hjemli
 
 dashless=$(basename "$0" | sed -e 's/-/ /')
-USAGE="[--quiet] add [-b branch] [-f|--force] [--name <name>] [--reference <repository>] [--] <repository> [<path>]
+USAGE="[--quiet] add [-b <branch>] [-f|--force] [--name <name>] [--reference <repository>] [--] <repository> [<path>]
    or: $dashless [--quiet] status [--cached] [--recursive] [--] [<path>...]
    or: $dashless [--quiet] init [--] [<path>...]
    or: $dashless [--quiet] update [--init] [-N|--no-fetch] [-f|--force] [--rebase] [--reference <repository>] [--merge] [--recursive] [--] [<path>...]