Web lists-archives.com

[PATCH] Documentation/git-send-email.txt: improve batching help




This clarifies that the relogin delay *must* be used in combination of
`--batch-size` as there is no default for batch size, if the batch size
is not given, we ignore the relogin delay argument.
While at it, fix a typo in the batch size help.

Signed-off-by: Stefan Beller <sbeller@xxxxxxxxxx>
---
 Documentation/git-send-email.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 8060ea35c5..887a38a608 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -250,7 +250,7 @@ must be used for each option.
 
 --batch-size=<num>::
 	Some email servers (e.g. smtp.163.com) limit the number emails to be
-	sent per session (connection) and this will lead to a faliure when
+	sent per session (connection) and this will lead to a failure when
 	sending many messages.  With this option, send-email will disconnect after
 	sending $<num> messages and wait for a few seconds (see --relogin-delay)
 	and reconnect, to work around such a limit.  You may want to
@@ -259,9 +259,9 @@ must be used for each option.
 	`sendemail.smtpBatchSize` configuration variable.
 
 --relogin-delay=<int>::
-	Waiting $<int> seconds before reconnecting to SMTP server. Used together
-	with --batch-size option.  Defaults to the `sendemail.smtpReloginDelay`
-	configuration variable.
+	Waiting $<int> seconds before reconnecting to SMTP server. Must be
+	used together with --batch-size option.  Defaults to the
+	`sendemail.smtpReloginDelay` configuration variable.
 
 Automating
 ~~~~~~~~~~
-- 
2.16.0.rc1.238.g530d649a79-goog