Skip to content

Commit 5027fa8

Browse files
Michael J Grubergitster
authored andcommitted
clone,init: describe --template using the same wording
This also corrects a wrong description for clone. Signed-off-by: Michael J Gruber <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ba9d7fe commit 5027fa8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

builtin/clone.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ static struct option builtin_clone_options[] = {
6868
"initialize submodules in the clone"),
6969
OPT_BOOLEAN(0, "recurse-submodules", &option_recursive,
7070
"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"),
7373
OPT_STRING(0, "reference", &option_reference, "repo",
7474
"reference repository"),
7575
OPT_STRING('o', "origin", &option_origin, "branch",

builtin/init-db.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ int cmd_init_db(int argc, const char **argv, const char *prefix)
419419
unsigned int flags = 0;
420420
const struct option init_db_options[] = {
421421
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"),
423423
OPT_SET_INT(0, "bare", &is_bare_repository_cfg,
424424
"create a bare repository", 1),
425425
{ OPTION_CALLBACK, 0, "shared", &init_shared_repository,

0 commit comments

Comments
 (0)