# [PATCH] doc: change erroneous --[no]-whatever into --[no-]whatever

2 messages from 2017-03-20 to 2017-03-20. Participants: Ævar Arnfjörð Bjarmason, Junio C Hamano.
Thread: https://gitlist.dev/t/45436

## Ævar Arnfjörð Bjarmason, 2017-03-20 13:20

Subject: [PATCH] doc: change erroneous --[no]-whatever into --[no-]whatever
Message-ID: <20170320132029.24604-1-avarab@gmail.com>
URL: https://gitlist.dev/e/20170320132029.24604-1-avarab%40gmail.com

```
Change these two obvious typos to be in line with the rest of the
documentation, which uses the correct --[no-]whatever form.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
---
 Documentation/git-format-patch.txt | 2 +-
 Documentation/git-send-email.txt   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt
index 9b200b379b..f7a069bb92 100644
--- a/Documentation/git-format-patch.txt
+++ b/Documentation/git-format-patch.txt
@@ -239,7 +239,7 @@ keeping them as Git notes allows them to be maintained between versions
 of the patch series (but see the discussion of the `notes.rewrite`
 configuration options in linkgit:git-notes[1] to use this workflow).
 
---[no]-signature=<signature>::
+--[no-]signature=<signature>::
 	Add a signature to each message produced. Per RFC 3676 the signature
 	is separated from the body by a line with '-- ' on it. If the
 	signature option is omitted the signature defaults to the Git version
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 642d0ef199..9d66166f69 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -89,7 +89,7 @@ See the CONFIGURATION section for `sendemail.multiEdit`.
 	reply to the given Message-Id, which avoids breaking threads to
 	provide a new patch series.
 	The second and subsequent emails will be sent as replies according to
-	the `--[no]-chain-reply-to` setting.
+	the `--[no-]chain-reply-to` setting.
 +
 So for example when `--thread` and `--no-chain-reply-to` are specified, the
 second and subsequent patches will be replies to the first one like in the
-- 
2.11.0


```

## Junio C Hamano, 2017-03-20 17:05

Subject: Re: [PATCH] doc: change erroneous --[no]-whatever into --[no-]whatever
Message-ID: <xmqqwpbjx4jj.fsf@gitster.mtv.corp.google.com>
URL: https://gitlist.dev/e/xmqqwpbjx4jj.fsf%40gitster.mtv.corp.google.com
In-Reply-To: <20170320132029.24604-1-avarab@gmail.com>

```
Thanks.

```
