summaryrefslogtreecommitdiff
path: root/git-submodule.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-11-21 13:25:42 -0800
committerJunio C Hamano <gitster@pobox.com>2012-11-21 13:25:42 -0800
commit681b036fa0461fa40f5c8caedd06579ab52e671e (patch)
tree0ef74a29e4c3b236e50d087c516ba69e60f51b12 /git-submodule.sh
parent5471fb1c4ca09c8a9e1ecb8d8caee80959bc081c (diff)
parent38ae92e4d027063b9b87e51a9bf12809d10066f6 (diff)
downloadgit-681b036fa0461fa40f5c8caedd06579ab52e671e.tar.gz
Merge branch 'wtk/submodule-doc-fixup'
* wtk/submodule-doc-fixup: git-submodule: wrap branch option with "<>" in usage strings.
Diffstat (limited to 'git-submodule.sh')
-rwxr-xr-xgit-submodule.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-submodule.sh b/git-submodule.sh
index 0522c3871a..2365149d0b 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] [--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>...]