Document negated forms of format-patch --to --cc --add-headers

The negated forms introduced in c426003 (format-patch: add --no-cc, --no-to, and --no-add-headers, 2010-03-07) were not documented anywhere. Add them to the descriptions of the positive forms. Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Thomas Rast committed Aug 29, 2011 at 22:10 UTC b2cd17b925a43c232955a53276caf0e20bfd9095
1 file changed +8 -1
Documentation/git-format-patch.txt
+8 -1
@@ -166,15 +166,22 @@ will want to ensure that threading is disabled for `git send-email`.
166 --to=<email>::
167 Add a `To:` header to the email headers. This is in addition
168 to any configured headers, and may be used multiple times.
169 + The negated form `--no-to` discards all `To:` headers added so
170 + far (from config or command line).
171
172 --cc=<email>::
173 Add a `Cc:` header to the email headers. This is in addition
174 to any configured headers, and may be used multiple times.
175 + The negated form `--no-cc` discards all `Cc:` headers added so
176 + far (from config or command line).
177
178 --add-header=<header>::
179 Add an arbitrary header to the email headers. This is in addition
180 to any configured headers, and may be used multiple times.
177 - For example, `--add-header="Organization: git-foo"`
181 + For example, `--add-header="Organization: git-foo"`.
182 + The negated form `--no-add-header` discards *all* (`To:`,
183 + `Cc:`, and custom) headers added so far from config or command
184 + line.
185
186 --cover-letter::
187 In addition to the patches, generate a cover letter file