Skip to contentSkip to conversation

Fix usage of git-init and git-init-db documentation

PATCH New Marc Pegon 1 participant 1 message Jun 15, 2016 Documentation

lore
Share & tools
lore

Marc Pegon

author
#0 lore raw

PATCH v2 1/1 Fix usage of git-init and git-init-db documentation

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

---
 Documentation/git-init-db.txt |    4 +++-
 builtin/init-db.c             |    4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)
Documentation/git-init-db.txt +3 -1
index 2c4c716..0a17450 100644
@@ -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
builtin/init-db.c +3 -1
index b7370d9..b22ea5e 100644
@@ -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
 };
 
Signature · 1 line
1.7.1