summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Julien Danjou <julien@danjou.info>2009-03-31 17:50:12 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-04-05 01:16:31 -0700
commit835a3eea3e18695e29b1d4c3adca37d1caaa16ef (patch)
treed757d90cab101bdce15c2f01b7eeeae32407b05d
parentMerge branch 'maint-1.6.1' into maint (diff)
downloadtgif-835a3eea3e18695e29b1d4c3adca37d1caaa16ef.tar.xz
git submodule: fix usage line
Actually, you have to set the -b option after the add command. Signed-off-by: Julien Danjou <julien@danjou.info> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xgit-submodule.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-submodule.sh b/git-submodule.sh
index 0a27232b90..7c2e060ae7 100755
--- a/git-submodule.sh
+++ b/git-submodule.sh
@@ -5,7 +5,7 @@
# Copyright (c) 2007 Lars Hjemli
USAGE="[--quiet] [--cached] \
-[add <repo> [-b branch] <path>]|[status|init|update [-i|--init] [-N|--no-fetch]|summary [-n|--summary-limit <n>] [<commit>]] \
+[add [-b branch] <repo> <path>]|[status|init|update [-i|--init] [-N|--no-fetch]|summary [-n|--summary-limit <n>] [<commit>]] \
[--] [<path>...]|[foreach <command>]|[sync [--] [<path>...]]"
OPTIONS_SPEC=
. git-sh-setup