clone: fixup recurse_submodules option

The recurse_submodules option was added in ccdd3da6 to bring 'git clone'
into line with 'git fetch' and future commands. The correct option should
have been "recurse-submodules".

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Chris Packham 2011-02-11 11:59:31 +13:00 коммит произвёл Junio C Hamano
Родитель 75323459b8
Коммит 3446a54c9a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -66,7 +66,7 @@ static struct option builtin_clone_options[] = {
"setup as shared repository"), "setup as shared repository"),
OPT_BOOLEAN(0, "recursive", &option_recursive, OPT_BOOLEAN(0, "recursive", &option_recursive,
"initialize submodules in the clone"), "initialize submodules in the clone"),
OPT_BOOLEAN(0, "recurse_submodules", &option_recursive, OPT_BOOLEAN(0, "recurse-submodules", &option_recursive,
"initialize submodules in the clone"), "initialize submodules in the clone"),
OPT_STRING(0, "template", &option_template, "path", OPT_STRING(0, "template", &option_template, "path",
"path the template repository"), "path the template repository"),