@matheusbsbs / matheus-bagliano / commits / 835a3eea3e
Fork 0

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>

Julien Danjou committed Mar 31, 2009 at 17:50 UTC 835a3eea3e18695e29b1d4c3adca37d1caaa16ef
1 file changed +1 -1
git-submodule.sh
+1 -1
@@ -5,7 +5,7 @@
5 # Copyright (c) 2007 Lars Hjemli
6
7 USAGE="[--quiet] [--cached] \
8 -[add <repo> [-b branch] <path>]|[status|init|update [-i|--init] [-N|--no-fetch]|summary [-n|--summary-limit <n>] [<commit>]] \
8 +[add [-b branch] <repo> <path>]|[status|init|update [-i|--init] [-N|--no-fetch]|summary [-n|--summary-limit <n>] [<commit>]] \
9 [--] [<path>...]|[foreach <command>]|[sync [--] [<path>...]]"
10 OPTIONS_SPEC=
11 . git-sh-setup