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>
Michael J Gruber committed
Feb 15, 2011 at 14:09 UTC
5027fa864dafd5a054aab2de6b4bae089f344fc6
2 files changed
+3
-3
builtin/clone.c
+2
-2
@@ -68,8 +68,8 @@ static struct option builtin_clone_options[] = {
68
"initialize submodules in the clone"),
69
OPT_BOOLEAN(0, "recurse-submodules", &option_recursive,
70
"initialize submodules in the clone"),
71
- OPT_STRING(0, "template", &option_template, "path",
72
- "path the template repository"),
71
+ OPT_STRING(0, "template", &option_template, "template-directory",
72
+ "directory from which templates will be used"),
73
OPT_STRING(0, "reference", &option_reference, "repo",
74
"reference repository"),
75
OPT_STRING('o', "origin", &option_origin, "branch",
builtin/init-db.c
+1
-1
@@ -419,7 +419,7 @@ int cmd_init_db(int argc, const char **argv, const char *prefix)
419
unsigned int flags = 0;
420
const struct option init_db_options[] = {
421
OPT_STRING(0, "template", &template_dir, "template-directory",
422
- "provide the directory from which templates will be used"),
422
+ "directory from which templates will be used"),
423
OPT_SET_INT(0, "bare", &is_bare_repository_cfg,
424
"create a bare repository", 1),
425
{ OPTION_CALLBACK, 0, "shared", &init_shared_repository,