mirror of
https://github.com/git/git
synced 2024-09-13 21:34:42 +00:00
clone,init: describe --template using the same wording
This also corrects a wrong description for clone. Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
ba9d7fe11c
commit
5027fa864d
|
@ -68,8 +68,8 @@ static struct option builtin_clone_options[] = {
|
||||||
"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, "template-directory",
|
||||||
"path the template repository"),
|
"directory from which templates will be used"),
|
||||||
OPT_STRING(0, "reference", &option_reference, "repo",
|
OPT_STRING(0, "reference", &option_reference, "repo",
|
||||||
"reference repository"),
|
"reference repository"),
|
||||||
OPT_STRING('o', "origin", &option_origin, "branch",
|
OPT_STRING('o', "origin", &option_origin, "branch",
|
||||||
|
|
|
@ -419,7 +419,7 @@ int cmd_init_db(int argc, const char **argv, const char *prefix)
|
||||||
unsigned int flags = 0;
|
unsigned int flags = 0;
|
||||||
const struct option init_db_options[] = {
|
const struct option init_db_options[] = {
|
||||||
OPT_STRING(0, "template", &template_dir, "template-directory",
|
OPT_STRING(0, "template", &template_dir, "template-directory",
|
||||||
"provide the directory from which templates will be used"),
|
"directory from which templates will be used"),
|
||||||
OPT_SET_INT(0, "bare", &is_bare_repository_cfg,
|
OPT_SET_INT(0, "bare", &is_bare_repository_cfg,
|
||||||
"create a bare repository", 1),
|
"create a bare repository", 1),
|
||||||
{ OPTION_CALLBACK, 0, "shared", &init_shared_repository,
|
{ OPTION_CALLBACK, 0, "shared", &init_shared_repository,
|
||||||
|
|
Loading…
Reference in a new issue