Skip to content

Commit 835a3ee

Browse files
jdgitster
authored andcommitted
git submodule: fix usage line
Actually, you have to set the -b option after the add command. Signed-off-by: Julien Danjou <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent be18f4b commit 835a3ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-submodule.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Copyright (c) 2007 Lars Hjemli
66

77
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>]] \
99
[--] [<path>...]|[foreach <command>]|[sync [--] [<path>...]]"
1010
OPTIONS_SPEC=
1111
. git-sh-setup

0 commit comments

Comments
 (0)