git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation/init-db.txt: minor style and synopsys fixes
@ 2015-01-14 17:33 Alexander Kuleshov
  2015-01-14 20:47 ` Eric Sunshine
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Kuleshov @ 2015-01-14 17:33 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git, Alexander Kuleshov

This patch constists of two minor changes:

* line-wrap 'git init-db' synopsis

* last possible argument '[directory]' was missed

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
---
 Documentation/git-init-db.txt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/git-init-db.txt b/Documentation/git-init-db.txt
index 648a6cd..1d94fe8 100644
--- a/Documentation/git-init-db.txt
+++ b/Documentation/git-init-db.txt
@@ -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
 -----------
-- 
2.3.0.rc0.256.g0057d96

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

* Re: [PATCH] Documentation/init-db.txt: minor style and synopsys fixes
  2015-01-14 17:33 [PATCH] Documentation/init-db.txt: minor style and synopsys fixes Alexander Kuleshov
@ 2015-01-14 20:47 ` Eric Sunshine
  2015-01-14 21:01   ` Alex Henrie
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Sunshine @ 2015-01-14 20:47 UTC (permalink / raw)
  To: Alexander Kuleshov; +Cc: Junio C Hamano, Git List

On Wed, Jan 14, 2015 at 12:33 PM, Alexander Kuleshov
<kuleshovmail@gmail.com> wrote:
> This patch constists of two minor changes:
>
> * line-wrap 'git init-db' synopsis
>
> * last possible argument '[directory]' was missed
>
> Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
> ---
> diff --git a/Documentation/git-init-db.txt b/Documentation/git-init-db.txt
> index 648a6cd..1d94fe8 100644
> --- a/Documentation/git-init-db.txt
> +++ b/Documentation/git-init-db.txt
> @@ -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>, ...

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

* Re: [PATCH] Documentation/init-db.txt: minor style and synopsys fixes
  2015-01-14 20:47 ` Eric Sunshine
@ 2015-01-14 21:01   ` Alex Henrie
  0 siblings, 0 replies; 3+ messages in thread
From: Alex Henrie @ 2015-01-14 21:01 UTC (permalink / raw)
  To: Eric Sunshine; +Cc: Alexander Kuleshov, Junio C Hamano, Git List

2015-01-14 13:47 GMT-07:00 Eric Sunshine <sunshine@sunshineco.com>:
> On Wed, Jan 14, 2015 at 12:33 PM, Alexander Kuleshov
> <kuleshovmail@gmail.com> wrote:
>> -'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>].

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

-Alex

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

end of thread, other threads:[~2015-01-14 21:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-14 17:33 [PATCH] Documentation/init-db.txt: minor style and synopsys fixes Alexander Kuleshov
2015-01-14 20:47 ` Eric Sunshine
2015-01-14 21:01   ` Alex Henrie

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).