Docs: send-email's usage text and man page mention same options
Specifically, boolean options are now listed in the form --[no-]option and both forms of documentation now consistently use --[no-]signed-off-by-cc Signed-off-by: Michael Witten <mfwitten@mit.edu> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Michael Witten committed
Sep 30, 2008 at 07:58 UTC
7ecbad91e94c0552da9c8903e4ed004c4d6744e4
2 files changed
+17
-12
Documentation/git-send-email.txt
+13
-8
@@ -40,8 +40,7 @@ The --cc option must be repeated for each user you want on the cc list.
40
Output of this command must be single email address per line.
41
Default is the value of 'sendemail.cccmd' configuration value.
42
43
---chain-reply-to::
44
---no-chain-reply-to::
43
+--[no-]chain-reply-to::
44
If this is set, each email will be sent as a reply to the previous
45
email sent. If disabled with "--no-chain-reply-to", all emails after
46
the first will be sent as replies to the first email sent. When using
@@ -66,8 +65,7 @@ The --cc option must be repeated for each user you want on the cc list.
65
Only necessary if --compose is also set. If --compose
66
is not set, this will be prompted for.
67
69
---signed-off-by-cc::
70
---no-signed-off-by-cc::
68
+--[no-]signed-off-by-cc::
69
If this is set, add emails found in Signed-off-by: or Cc: lines to the
70
cc list.
71
Default is the value of 'sendemail.signedoffcc' configuration value;
@@ -146,8 +144,7 @@ user is prompted for a password while the input is masked for privacy.
144
Only necessary if --compose is also set. If --compose
145
is not set, this will be prompted for.
146
149
---suppress-from::
150
---no-suppress-from::
147
+--[no-]suppress-from::
148
If this is set, do not add the From: address to the cc: list.
149
Default is the value of 'sendemail.suppressfrom' configuration value;
150
if that is unspecified, default to --no-suppress-from.
@@ -163,8 +160,7 @@ user is prompted for a password while the input is masked for privacy.
160
if that is unspecified, default to 'self' if --suppress-from is
161
specified, as well as 'sob' if --no-signed-off-cc is specified.
162
166
---thread::
167
---no-thread::
163
+--[no-]thread::
164
If this is set, the In-Reply-To header will be set on each email sent.
165
If disabled with "--no-thread", no emails will have the In-Reply-To
166
header set.
@@ -183,6 +179,15 @@ user is prompted for a password while the input is masked for privacy.
179
variable; if that is unspecified, choosing the envelope sender is left
180
to your MTA.
181
182
+--no-validate::
183
+ Don't perform any sanity checks on patches.
184
+ Currently, validation means the following:
185
++
186
+--
187
+ * Warn of patches that contain lines longer than 998 characters; this
188
+ is due to SMTP limits as described by http://www.ietf.org/rfc/rfc2821.txt.
189
+--
190
+
191
--to::
192
Specify the primary recipient of the emails generated.
193
Generally, this will be the upstream maintainer of the
git-send-email.perl
+4
-4
@@ -64,11 +64,11 @@ Options:
64
Only used if --compose is also set. If --compose is not
65
set, this will be prompted for.
66
67
- --chain-reply-to If set, the replies will all be to the previous
67
+ --[no-]chain-reply-to If set, the replies will all be to the previous
68
email sent, rather than to the first email sent.
69
Defaults to on.
70
71
- --signed-off-cc Automatically add email addresses that appear in
71
+ --[no-]signed-off-by-cc Automatically add email addresses that appear in
72
Signed-off-by: or Cc: lines to the cc: list. Defaults to on.
73
74
--identity The configuration identity, a subsection to prioritise over
@@ -95,9 +95,9 @@ Options:
95
'cccmd' for the output of the cccmd, or 'all' to suppress
96
all of these.
97
98
- --suppress-from Suppress sending emails to yourself. Defaults to off.
98
+ --[no-]suppress-from Suppress sending emails to yourself. Defaults to off.
99
100
- --thread Specify that the "In-Reply-To:" header should be set on all
100
+ --[no-]thread Specify that the "In-Reply-To:" header should be set on all
101
emails. Defaults to on.
102
103
--quiet Make git-send-email less verbose. One line per email