All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix usage of git-init and git-init-db documentation
@ 2011-05-24 14:41 Marc Pegon
  2011-05-24 15:58 ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Marc Pegon @ 2011-05-24 14:41 UTC (permalink / raw)
  To: git; +Cc: gitster, Marc Pegon

These were not updated in commit b57fb80a7d7 (init, clone: support --separate-git-dir for .git file)

Signed-off-by: Marc Pegon <pegon.marc@gmail.com>
---
 Documentation/git-init-db.txt |    4 +++-
 builtin/init-db.c             |    4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/Documentation/git-init-db.txt b/Documentation/git-init-db.txt
index 2c4c716..0a17450 100644
--- a/Documentation/git-init-db.txt
+++ b/Documentation/git-init-db.txt
@@ -8,7 +8,9 @@ git-init-db - Creates an empty git repository
 
 SYNOPSIS
 --------
-'git init-db' [-q | --quiet] [--bare] [--template=<template_directory>] [--shared[=<permissions>]]
+'git init-db' [-q | --quiet] [--bare] [--template=<template_directory>]
+	  [--separate-git-dir|-L <git dir>]
+	  [--shared[=<permissions>]] [directory]
 
 
 DESCRIPTION
diff --git a/builtin/init-db.c b/builtin/init-db.c
index b7370d9..0a71378 100644
--- a/builtin/init-db.c
+++ b/builtin/init-db.c
@@ -463,7 +463,9 @@ static int shared_callback(const struct option *opt, const char *arg, int unset)
 }
 
 static const char *const init_db_usage[] = {
-	"git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [directory]",
+	"git init [-q | --quiet] [--bare] [--template=<template_directory>]\n"
+	"[--separate-git-dir|-L <git dir>]\n",
+	"[--shared[=<permissions>]] [directory]",
 	NULL
 };
 
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-24 16:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-24 14:41 [PATCH] Fix usage of git-init and git-init-db documentation Marc Pegon
2011-05-24 15:58 ` Junio C Hamano
2011-05-24 16:04   ` Nguyen Thai Ngoc Duy
2011-05-24 16:26     ` Junio C Hamano
2011-05-24 16:40       ` Nguyen Thai Ngoc Duy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.