Skip to contentSkip to conversation

Documentation/init-db.txt: minor style and synopsys fixes

PATCH Superseded Alexander Kuleshov 3 participants 3 messages Jun 15, 2016 Documentation

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation/init-db.txt: minor style and synopsys fixes

This patch constists of two minor changes:

* line-wrap 'git init-db' synopsis

* last possible argument '[directory]' was missed

---
 Documentation/git-init-db.txt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Documentation/git-init-db.txt +3 -2
index 648a6cd..1d94fe8 100644
@@ -9,8 +9,9 @@ git-init-db - Creates an empty Git repository
 SYNOPSIS
 --------
 [verse]
-'git init-db' [-q | --quiet] [--bare] [--template=<template_directory>] [--separate-git-dir <git dir>] [--shared[=<permissions>]]
-
+'git init-db' [-q | --quiet] [--bare] [--template=<template_directory>]
+			  [--separate-git-dir <git dir>]
+			  [--shared[=<permissions>]] [directory]
 
 DESCRIPTION
 -----------
Signature · 1 line
2.3.0.rc0.256.g0057d96
#1 lore raw
Quoted 13 lines · Alexander Kuleshov

This patch constists of two minor changes:

* line-wrap 'git init-db' synopsis

* last possible argument '[directory]' was missed

---

Documentation/git-init-db.txt +0 -0
index 648a6cd..1d94fe8 100644

Documentation/git-init-db.txt git-init-db - Creates an empty Git repository · line 14

Quoted 8 lines
Documentation/git-init-db.txt +3 -2
@@ -9,8 +9,9 @@ git-init-db - Creates an empty Git repository
 SYNOPSIS
 --------
 [verse]
-'git init-db' [-q | --quiet] [--bare] [--template=<template_directory>] [--separate-git-dir <git dir>] [--shared[=<permissions>]]
-
+'git init-db' [-q | --quiet] [--bare] [--template=<template_directory>]
+                         [--separate-git-dir <git dir>]
+                         [--shared[=<permissions>]] [directory]

I realize that you copied/pasted the text from git-init.txt, but this should really be [<directory>].

While you're at it, you could fix it in git-init.txt, as well, and adjust the formatting of...

If you provide a 'directory', ...

to say:

If you provide <directory>, ...

#2 lore raw

2015-01-14 13:47 GMT-07:00 Eric Sunshine <[email protected]>:

Quoted 10 lines

Documentation/git-init-db.txt git-init-db - Creates an empty Git repository · line 14

Quoted 5 lines · Alexander Kuleshov

-'git init-db' [-q | --quiet] [--bare] [--template=<template_directory>] [--separate-git-dir <git dir>] [--shared[=<permissions>]]

Documentation/git-init-db.txt +3 -1
-
+'git init-db' [-q | --quiet] [--bare] [--template=<template_directory>]
+                         [--separate-git-dir <git dir>]
+                         [--shared[=<permissions>]] [directory]

I realize that you copied/pasted the text from git-init.txt, but this should really be [<directory>].

We're also transitioning to using hyphens to separate words in template placeholders, so here you would have <template-directory> and <git-dir>.

-Alex