git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2] Fix usage of git-init and git-init-db documentation
@ 2011-05-24 15:07 Marc Pegon
  0 siblings, 0 replies; only message in thread
From: Marc Pegon @ 2011-05-24 15:07 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..b22ea5e 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] only message in thread

only message in thread, other threads:[~2011-05-24 15:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-24 15:07 [PATCHv2] Fix usage of git-init and git-init-db documentation Marc Pegon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).